Skip to content

Commit 78c2ce0

Browse files
paulmckrcuBoqun Feng
authored andcommitted
scftorture: Update due to x86 not supporting none/voluntary preemption
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
1 parent 3c6ddb5 commit 78c2ce0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • tools/testing/selftests/rcutorture/configs/scf

tools/testing/selftests/rcutorture/configs/scf/NOPREEMPT

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
CONFIG_SMP=y
2-
CONFIG_PREEMPT_NONE=y
2+
CONFIG_PREEMPT_LAZY=y
3+
CONFIG_PREEMPT_NONE=n
34
CONFIG_PREEMPT_VOLUNTARY=n
45
CONFIG_PREEMPT=n
56
CONFIG_PREEMPT_DYNAMIC=n

0 commit comments

Comments
 (0)