Skip to content

Commit 59af2d5

Browse files
paulmckrcuBoqun Feng
authored andcommitted
rcuscale: 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 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
1 parent f2fa6cc commit 59af2d5

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

  • tools/testing/selftests/rcutorture/configs/rcuscale

tools/testing/selftests/rcutorture/configs/rcuscale/TINY

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
CONFIG_SMP=n
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

tools/testing/selftests/rcutorture/configs/rcuscale/TRACE01

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)