Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rcutorture: Add NOCB01 config for RCU_LAZY torture testing

Add new rcutorture config NOCB01 that enables CONFIG_RCU_LAZY combined
with CONFIG_RCU_NOCB_CPU to exercise the lazy callback code paths in
the NOCB implementation.

This config exercises lazy callback paths not covered by other configs,
including lazy-only wake and lazy defer logic.

This config is not added to CFLIST to avoid increasing the default
test duration; it can be run explicitly when lazy callback testing
is needed.

Acked-by: Frederic Weisbecker <frederic@kernel.org>
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Tested-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>

+23
+21
tools/testing/selftests/rcutorture/configs/rcu/NOCB01
··· 1 + CONFIG_SMP=y 2 + CONFIG_NR_CPUS=8 3 + CONFIG_PREEMPT_NONE=n 4 + CONFIG_PREEMPT_VOLUNTARY=n 5 + CONFIG_PREEMPT=y 6 + #CHECK#CONFIG_PREEMPT_RCU=y 7 + CONFIG_HZ_PERIODIC=n 8 + CONFIG_NO_HZ_IDLE=y 9 + CONFIG_NO_HZ_FULL=n 10 + CONFIG_RCU_TRACE=y 11 + CONFIG_HOTPLUG_CPU=y 12 + CONFIG_RCU_FANOUT=3 13 + CONFIG_RCU_FANOUT_LEAF=2 14 + CONFIG_RCU_NOCB_CPU=y 15 + CONFIG_DEBUG_LOCK_ALLOC=n 16 + CONFIG_PROVE_LOCKING=n 17 + CONFIG_RCU_BOOST=n 18 + CONFIG_DEBUG_OBJECTS_RCU_HEAD=n 19 + CONFIG_RCU_EXPERT=y 20 + CONFIG_RCU_EQS_DEBUG=y 21 + CONFIG_RCU_LAZY=y
+2
tools/testing/selftests/rcutorture/configs/rcu/NOCB01.boot
··· 1 + rcupdate.rcu_self_test=1 2 + rcu_nocbs=all