The branch stable/14 has been updated by mchoo: URL: https://cgit.FreeBSD.org/src/commit/?id=f11c5eb89b6b99d039a3ea5caca968d3c73a5f7b
commit f11c5eb89b6b99d039a3ea5caca968d3c73a5f7b Author: Minsoo Choo <[email protected]> AuthorDate: 2026-08-24 02:25:37 +0000 Commit: Minsoo Choo <[email protected]> CommitDate: 2026-10-02 15:44:54 +0000 sched_4bsd: remove obsolete comment 'awake' checks if a thread, not a process, is awake. Reviewed by: olce Approved by: olce (mentor) MFC after: 2 weeks Sponsored by: FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59404 (cherry picked from commit 6c0c77e190b27d768595ef5b38d798430fb03a8b) --- sys/kern/sched_4bsd.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c index 32f0fa6696b5..35685b06f7db 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -529,11 +529,7 @@ schedcpu(void) #endif ts->ts_cpticks = 0; } - /* - * If there are ANY running threads in this process, - * then don't count it as sleeping. - * XXX: this is broken. - */ + if (awake) { if (ts->ts_slptime > 1) { /*
