OSDN Git Service

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)
commitb5597cb36f8bb29b244b2f90030d54bf81bf6fbc
treef1a7e7b2b36a9ac3d6a75433264047330d229f9c
parentf233673cd32a048f2eed69e56b61174c33fb740b
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>
tools/testing/selftests/rcutorture/configs/rcu/SRCU-N.boot
tools/testing/selftests/rcutorture/configs/rcu/SRCU-P.boot