git: 46416a57eb7b - main - sched_4bsd: remove obsolete comment

From: Minsoo Choo <mchoo_at_FreeBSD.org>
Date: Fri, 18 Sep 2026 14:14:49 UTC
The branch main has been updated by mchoo:

URL: https://cgit.FreeBSD.org/src/commit/?id=46416a57eb7b6d74fda13cc6e40a43bdfa6b7da9

commit 46416a57eb7b6d74fda13cc6e40a43bdfa6b7da9
Author:     Minsoo Choo <mchoo@FreeBSD.org>
AuthorDate: 2026-08-24 02:25:33 +0000
Commit:     Minsoo Choo <mchoo@FreeBSD.org>
CommitDate: 2026-09-18 14:14:12 +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
---
 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;