The branch stable/14 has been updated by mchoo: URL: https://cgit.FreeBSD.org/src/commit/?id=be9536d3c4d21b49c4731d81a9f0b83485cdcc37
commit be9536d3c4d21b49c4731d81a9f0b83485cdcc37 Author: Minsoo Choo <[email protected]> AuthorDate: 2026-08-24 02:25:33 +0000 Commit: Minsoo Choo <[email protected]> CommitDate: 2026-10-02 15:40:09 +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 5404285f3cf4..9147b4418b8d 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -481,11 +481,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;
