rcu: Update TREE05.boot to test normal synchronize_rcu()
authorUladzislau Rezki (Sony) <urezki@gmail.com>
Thu, 27 Feb 2025 13:16:12 +0000 (14:16 +0100)
committerBoqun Feng <boqun.feng@gmail.com>
Wed, 5 Mar 2025 02:44:29 +0000 (18:44 -0800)
commita6cea3954e62bb200834830515b3e85c9db5c238
tree214c7267ce550e15c6288ca6c81e577de4a0fe68
parent8d67c1558a71475e638fee09e588e12834043069
rcu: Update TREE05.boot to test normal synchronize_rcu()

Add extra parameters for rcutorture module. One is the "nfakewriters"
which is set -1. There will be created number of test-kthreads which
correspond to number of CPUs in a test system. Those threads randomly
invoke synchronize_rcu() call.

Apart of that "rcu_normal" is set to 1, because it is specifically for
a normal synchronize_rcu() testing, also a newly added parameter which
is "rcu_normal_wake_from_gp" is set to 1 also. That prevents interaction
with other callbacks in a system.

Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Link: https://lore.kernel.org/r/20250227131613.52683-2-urezki@gmail.com
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
tools/testing/selftests/rcutorture/configs/rcu/TREE05.boot