]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc755277849457529faa9cd60181a73f1a44585ff
treef1a7e7b2b36a9ac3d6a75433264047330d229f9c
parent6bab7a51d934ddc15ab9be5ecf01b7a8e93c507f
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