The branch stable/15 has been updated by mchoo: URL: https://cgit.FreeBSD.org/src/commit/?id=d6cf09d417b2b49ad47c6b2eff890c1f2633fd85
commit d6cf09d417b2b49ad47c6b2eff890c1f2633fd85 Author: Minsoo Choo <[email protected]> AuthorDate: 2026-08-24 02:25:33 +0000 Commit: Minsoo Choo <[email protected]> CommitDate: 2026-10-02 15:34:30 +0000 sched_4bsd: remove obsolete comment In old Unix, the whole process address space including scheduler-related data was paged out to disk. We now allocate thread-related data with UMA on wired memory which never page out. Thus this comment is now obsolete. Reviewed by: olce Approved by: olce (mentor) MFC after: 2 weeks Sponsored by: FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59398 (cherry picked from commit 46416a57eb7b6d74fda13cc6e40a43bdfa6b7da9) --- sys/kern/sched_4bsd.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c index 228650b0706c..7965357e072e 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -469,11 +469,6 @@ schedcpu(void) * Increment sleep time (if sleeping). We * ignore overflow, as above. */ - /* - * The td_sched slptimes are not touched in wakeup - * because the thread may not HAVE everything in - * memory? XXX I think this is out of date. - */ if (TD_ON_RUNQ(td)) { awake = 1; td->td_flags &= ~TDF_DIDRUN;
