The branch main has been updated by mchoo:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=6c0c77e190b27d768595ef5b38d798430fb03a8b

commit 6c0c77e190b27d768595ef5b38d798430fb03a8b
Author:     Minsoo Choo <[email protected]>
AuthorDate: 2026-08-24 02:25:37 +0000
Commit:     Minsoo Choo <[email protected]>
CommitDate: 2026-09-18 14:14:13 +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
---
 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 2f6719f4a58e..27fbd3c5bdca 100644
--- a/sys/kern/sched_4bsd.c
+++ b/sys/kern/sched_4bsd.c
@@ -517,11 +517,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) {
                                        /*

Reply via email to