git: 9b74c57df890 - stable/15 - sched: options: Regroup scheduler-related kernel options

From: Olivier Certner <olce_at_FreeBSD.org>
Date: Thu, 08 Oct 2026 12:21:42 UTC
The branch stable/15 has been updated by olce:

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

commit 9b74c57df89018a01b831a7bdf839f74fb3ee303
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-09-24 14:59:07 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-10-08 12:20:06 +0000

    sched: options: Regroup scheduler-related kernel options
    
    This makes it easier to have a full list of them at a glance, and makes
    for a natural place to add new ones.
    
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D60010
    
    (cherry picked from commit 406d6658ff821fc43eb0b2b10df4ab09eb2e2e16)
---
 sys/conf/options | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/sys/conf/options b/sys/conf/options
index 5bc9b9358b39..d0737f6595ce 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -70,6 +70,14 @@ TSLOG	opt_global.h
 TSLOG_PAGEZERO	opt_global.h
 TSLOGSIZE	opt_global.h
 
+# Scheduler options
+SCHED_4BSD	opt_sched.h
+SCHED_ULE	opt_sched.h
+SCHED_STATS	opt_sched.h
+PREEMPTION	opt_sched.h
+IPI_PREEMPTION	opt_sched.h
+FULL_PREEMPTION	opt_sched.h
+
 # Miscellaneous options
 ALQ
 ATSE_CFI_HACK	opt_cfi.h
@@ -107,10 +115,8 @@ DEADLKRES	opt_watchdog.h
 EXPERIMENTAL	opt_global.h
 DIRECTIO
 FFCLOCK
-FULL_PREEMPTION	opt_sched.h
 GZIO		opt_gzio.h
 IMGACT_BINMISC		opt_dontuse.h
-IPI_PREEMPTION	opt_sched.h
 GEOM_CACHE	opt_geom.h
 GEOM_CONCAT	opt_geom.h
 GEOM_ELI	opt_geom.h
@@ -199,11 +205,7 @@ PCI_IOV		opt_global.h
 PPC_DEBUG	opt_ppc.h
 PPC_PROBE_CHIPSET	opt_ppc.h
 PPS_SYNC	opt_ntp.h
-PREEMPTION	opt_sched.h
 QUOTA
-SCHED_4BSD	opt_sched.h
-SCHED_STATS	opt_sched.h
-SCHED_ULE	opt_sched.h
 SLEEPQUEUE_PROFILING
 SLHCI_DEBUG	opt_slhci.h
 SOCKET_HHOOK	opt_global.h