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

rcutorture: Test SRCU size transitions

Thie commit adds kernel boot parameters to the SRCU-N and SRCU-P
rcutorture scenarios to cause SRCU-N to test contention-based resizing
and SRCU-P to test init_srcu_struct()-time resizing. Note that this
also tests never-resizing because the contention-based resizing normally
takes some minutes to make the shift.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>

+3
+1
tools/testing/selftests/rcutorture/configs/rcu/SRCU-N.boot
··· 1 1 rcutorture.torture_type=srcu 2 + rcutorture.fwd_progress=3
+2
tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot
··· 1 1 rcutorture.torture_type=srcud 2 2 rcupdate.rcu_self_test=1 3 + rcutorture.fwd_progress=3 4 + srcutree.big_cpu_lim=5