The branch stable/14 has been updated by mchoo: URL: https://cgit.FreeBSD.org/src/commit/?id=e3c943851a9cf65604b5b4546e8856dceb018d86
commit e3c943851a9cf65604b5b4546e8856dceb018d86 Author: Minsoo Choo <[email protected]> AuthorDate: 2026-08-24 02:25:32 +0000 Commit: Minsoo Choo <[email protected]> CommitDate: 2026-10-02 15:40:08 +0000 sched_4bsd: update function name in comment In b43179fbe815 ("Create a new scheduler api..."), schedclock() was renamed to sched_clock() but the function name in the comment remained still. Update the comment to reflect up-to-date name for schedclock(). Reviewed by: olce Approved by: olce (mentor) Fixes: b43179fbe815 ("Create a new scheduler api...") MFC after: 2 weeks Sponsored by: FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59397 (cherry picked from commit 5d67118d2c7388bdc065e640719553ff4d9eea89) --- sys/kern/sched_4bsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c index bde47e511a63..5404285f3cf4 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -372,7 +372,7 @@ maybe_preempt(struct thread *td) * Note that, as ps(1) mentions, this can let percentages * total over 100% (I've seen 137.9% for 3 processes). * - * Note that schedclock() updates ts_estcpu and p_cpticks asynchronously. + * Note that sched_clock() updates ts_estcpu and p_cpticks asynchronously. * * We wish to decay away 90% of ts_estcpu in (5 * loadavg) seconds. * That is, the system wants to compute a value of decay such
