]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rcuscale: Update due to x86 not supporting none/voluntary preemption
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 3 Mar 2026 23:59:01 +0000 (15:59 -0800)
committerBoqun Feng <boqun@kernel.org>
Thu, 5 Mar 2026 21:11:03 +0000 (13:11 -0800)
As of v7.0-rc1, architectures that support preemption, including x86 and
arm64, no longer support CONFIG_PREEMPT_NONE or CONFIG_PREEMPT_VOLUNTARY.
Attempting to build kernels with these two Kconfig options results in
.config errors.  This commit therefore switches such rcuscale scenarios
to CONFIG_PREEMPT_LAZY.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Boqun Feng <boqun@kernel.org>
Link: https://patch.msgid.link/20260303235903.1967409-2-paulmck@kernel.org
tools/testing/selftests/rcutorture/configs/rcuscale/TINY
tools/testing/selftests/rcutorture/configs/rcuscale/TRACE01

index 0fa2dc086e10cde10a77381021b610ffe45fc0be..c1a7d38823fba5e9f0055fdb4c0ba1a3ccf493eb 100644 (file)
@@ -1,5 +1,6 @@
 CONFIG_SMP=n
-CONFIG_PREEMPT_NONE=y
+CONFIG_PREEMPT_LAZY=y
+CONFIG_PREEMPT_NONE=n
 CONFIG_PREEMPT_VOLUNTARY=n
 CONFIG_PREEMPT=n
 CONFIG_PREEMPT_DYNAMIC=n
index 0059592c7408ab948f08d4e9bbf81818d01d9e77..f3f1368b838698bc44e32052545620877358c20f 100644 (file)
@@ -1,5 +1,6 @@
 CONFIG_SMP=y
-CONFIG_PREEMPT_NONE=y
+CONFIG_PREEMPT_LAZY=y
+CONFIG_PREEMPT_NONE=n
 CONFIG_PREEMPT_VOLUNTARY=n
 CONFIG_PREEMPT=n
 CONFIG_PREEMPT_DYNAMIC=n