git: c7c6e744ad43 - stable/14 - sched_4bsd: remove kern.sched.4bsd.followon

From: Minsoo Choo <mchoo_at_FreeBSD.org>
Date: Fri, 02 Oct 2026 15:49:51 UTC
The branch stable/14 has been updated by mchoo:

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

commit c7c6e744ad432570f91631fe1931cb0767097294
Author:     Minsoo Choo <mchoo@FreeBSD.org>
AuthorDate: 2026-08-24 02:25:30 +0000
Commit:     Minsoo Choo <mchoo@FreeBSD.org>
CommitDate: 2026-10-02 15:40:03 +0000

    sched_4bsd: remove kern.sched.4bsd.followon
    
    kern.sched.4bsd.followon was enabled only for KSE. It was never compiled
    since ad1e7d285ab1 and KSE was removed years ago. Now it's time to
    remove this tunable.
    
    Reviewed by:    olce
    Approved by:    olce (mentor)
    MFC after:      2 weeks
    Sponsored by:   FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D59394
    
    (cherry picked from commit d29c9f5aca3463e3c7f2fa2263795a78c6430d2d)
---
 sys/kern/sched_4bsd.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c
index 0e7ac9feb686..1bbf1090b812 100644
--- a/sys/kern/sched_4bsd.c
+++ b/sys/kern/sched_4bsd.c
@@ -256,12 +256,6 @@ SYSCTL_INT(_kern_sched_ipiwakeup, OID_AUTO, useloop, CTLFLAG_RW,
 	   "Use a loop to find idle cpus");
 
 #endif
-#if 0
-static int sched_followon = 0;
-SYSCTL_INT(_kern_sched, OID_AUTO, followon, CTLFLAG_RW,
-	   &sched_followon, 0,
-	   "allow threads to share a quantum");
-#endif
 
 SDT_PROVIDER_DEFINE(sched);