git: 1322760fd127 - main - sys: enable both SCHED_ULE and SCHED_4BSD for some configs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Jan 2026 18:12:39 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=1322760fd1274930cbb61048d9a6ba3bc1782b2a
commit 1322760fd1274930cbb61048d9a6ba3bc1782b2a
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-01-23 16:15:09 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-01-29 18:11:56 +0000
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
---
sys/amd64/conf/GENERIC | 1 +
sys/conf/NOTES | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
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: