]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
refscale: Update due to x86 not supporting none/voluntary preemption
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 3 Mar 2026 23:59:02 +0000 (15:59 -0800)
committerBoqun Feng <boqun@kernel.org>
Thu, 5 Mar 2026 21:11:07 +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 refscale 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-3-paulmck@kernel.org
tools/testing/selftests/rcutorture/configs/refscale/NOPREEMPT
tools/testing/selftests/rcutorture/configs/refscale/TINY

index 67f9d2998afd31730d6a20e4761d3f161fb219d0..1f215e17cbae22714e0ff8d43caefd286e8e8763 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
index 759343980b80d87c1efc7cf11fd9f193f5099ad3..9a11b578ff34459db30f3b16ed2b1d0bd3f853ad 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