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

index 6133f54ce2a7d2960a256f547df5100736a2be57..f9621e2770a41d08881d2084c73d4617f59432fc 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