aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2026-01-23 16:15:09 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2026-01-29 18:11:56 +0000
commit1322760fd1274930cbb61048d9a6ba3bc1782b2a (patch)
tree06f5e5fd5133357ea786a0c751d6308bc9934837
parentff870b783f098cafd8b938379eada6b8cfe9a4fb (diff)
sys: enable both SCHED_ULE and SCHED_4BSD for some configs
Globally enable both schedulers for LINT. Enable both schedulers for GENERIC on amd64. Reviewed by: olce Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D54831
-rw-r--r--sys/amd64/conf/GENERIC1
-rw-r--r--sys/conf/NOTES2
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC
index 1003572805fb..c390ff7596b6 100644
--- a/sys/amd64/conf/GENERIC
+++ b/sys/amd64/conf/GENERIC
@@ -24,6 +24,7 @@ makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support
options SCHED_ULE # ULE scheduler
+options SCHED_4BSD # Original 4.xBSD scheduler
options NUMA # Non-Uniform Memory Architecture support
options PREEMPTION # Enable kernel thread preemption
options EXTERR_STRINGS
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 6d3ea088b819..1f734a700cd1 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -210,7 +210,7 @@ options ROOTDEVNAME=\"ufs:da0s2e\"
#
options SCHED_4BSD
options SCHED_STATS
-#options SCHED_ULE
+options SCHED_ULE
#####################################################################
# SMP OPTIONS: