]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rcutorture: Update due to x86 not supporting none/voluntary preemption
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 5 Mar 2026 00:01:19 +0000 (16:01 -0800)
committerBoqun Feng <boqun@kernel.org>
Thu, 5 Mar 2026 21:07:38 +0000 (13:07 -0800)
commitf2fa6cc736ef518628f6a9d1155f9ec24e0af4e7
tree799c2ae4820a332c54c6b3c20651f56367337efa
parent11439c4635edd669ae435eec308f4ab8a0804808
rcutorture: 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 rcutorture scenarios
to CONFIG_PREEMPT_LAZY.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Signed-off-by: Boqun Feng <boqun@kernel.org>
Link: https://patch.msgid.link/bfe89f6c-3b63-40c6-aa6d-5f523e3e9a31@paulmck-laptop
12 files changed:
tools/testing/selftests/rcutorture/configs/rcu/SRCU-N
tools/testing/selftests/rcutorture/configs/rcu/SRCU-T
tools/testing/selftests/rcutorture/configs/rcu/SRCU-U
tools/testing/selftests/rcutorture/configs/rcu/TASKS02
tools/testing/selftests/rcutorture/configs/rcu/TINY01
tools/testing/selftests/rcutorture/configs/rcu/TINY02
tools/testing/selftests/rcutorture/configs/rcu/TRACE01
tools/testing/selftests/rcutorture/configs/rcu/TREE04
tools/testing/selftests/rcutorture/configs/rcu/TREE05
tools/testing/selftests/rcutorture/configs/rcu/TREE06
tools/testing/selftests/rcutorture/configs/rcu/TREE10
tools/testing/selftests/rcutorture/configs/rcu/TRIVIAL