git: 406d6658ff82 - main - sched: options: Regroup scheduler-related kernel options

From: Olivier Certner <olce_at_FreeBSD.org>
Date: Fri, 25 Sep 2026 15:39:54 UTC
The branch main has been updated by olce:

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

commit 406d6658ff821fc43eb0b2b10df4ab09eb2e2e16
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-09-24 14:59:07 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-09-25 15:21:49 +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
---
 sys/conf/options | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/sys/conf/options b/sys/conf/options
index 516ef52b0caf..c9d72fdfdbb3 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -71,6 +71,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
@@ -108,10 +116,8 @@ CY_PCI_FASTINTR
 DEADLKRES	opt_watchdog.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
@@ -200,11 +206,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