CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/09/25 02:46:50
Modified files:
sys/kern : sched_bsd.c tty.c tty_pty.c
sys/sys : kernel.h tty.h
Log message:
Remove last callers of the 'lbolt' sleep channel.
When a process in a background group attempts TTY I/O, it is currently
put to sleep on 'lbolt'. This relies on the 1Hz wakeup() from schedcpu().
Replace ttysleep(tp, &lbolt, ...) with ttysleep_nsec(tp, &nowake,
..., SEC_TO_NSEC(1)) and remove unused 'lbolt' channel.
>From Tim Leslie, ok claudio.