aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2021-11-23 11:53:52 -0800
committerPaul E. McKenney <paulmck@kernel.org>2021-12-07 16:36:18 -0800
commit613b00fbe64461f1c73e035e07c22cf3de65740b (patch)
tree637ba4f0d889f584b22511e587d2f49b61a3933f /tools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh
parentrcutorture: Enable multiple concurrent callback-flood kthreads (diff)
downloadlinux-dev-613b00fbe64461f1c73e035e07c22cf3de65740b.tar.xz
linux-dev-613b00fbe64461f1c73e035e07c22cf3de65740b.zip
rcutorture: Add ability to limit callback-flood intensity
The RCU tasks flavors of RCU now need concurrent callback flooding to test their ability to switch between single-queue mode and per-CPU queue mode, but their lack of heavy-duty forward-progress features rules out the use of rcutorture's current callback-flooding code. This commit therefore provides the ability to limit the intensity of the callback floods using a new ->cbflood_max field in the rcu_operations structure. When this field is zero, there is no limit, otherwise, each callback-flood kthread allocates at most ->cbflood_max callbacks. Cc: Neeraj Upadhyay <neeraj.iitr10@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh')
0 files changed, 0 insertions, 0 deletions