CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/12/01 14:32:15
Modified files:
sys/kern : tty.c
Log message:
Prevent VSTATUS (SIGINFO) from monopolizing the global kernel lock.
The VSTATUS case in ttyinput() calls ttyinfo() to format the load
and terminal status, potentially traversing every process and thread
in the foreground process group. We now treat VSTATUS as an
"expensive" terminal control operation and return 1 from ttyinput().
For a pty, this causes ptcwrite() to sleep for at least 1 tick after
the status info is written to the pty.
>From Acts1631