rcutorture: Test SRCU size transitions
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 31 Jan 2022 23:03:36 +0000 (15:03 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 8 Feb 2022 19:19:15 +0000 (11:19 -0800)
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>
tools/testing/selftests/rcutorture/configs/rcu/SRCU-N.boot
tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot

index 238bfe3bd0cccf5096cace6c1012dac22d111728..ce0694fd9b9297d6c5a1fc576efed55996324d16 100644 (file)
@@ -1 +1,2 @@
 rcutorture.torture_type=srcu
+rcutorture.fwd_progress=3
index ce48c7b826734fb56f659951c038350cb0a7f934..2db39f298d1827e96980dccac32dadf7248406ac 100644 (file)
@@ -1,2 +1,4 @@
 rcutorture.torture_type=srcud
 rcupdate.rcu_self_test=1
+rcutorture.fwd_progress=3
+srcutree.big_cpu_lim=5