rcutorture: Suppress debugging grace period delays during flooding
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 4 Feb 2022 20:45:18 +0000 (12:45 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 24 Feb 2022 17:56:44 +0000 (09:56 -0800)
commit9e94fde0179959047f2b55e4d8977d094321ea67
tree1da7c04a1d8eac1bec1b89c4529d04754118ab6b
parent33be65be804620b660e956b5db69105bb7795e2a
rcutorture: Suppress debugging grace period delays during flooding

Tree RCU supports grace-period delays using the rcutree.gp_cleanup_delay,
rcutree.gp_init_delay, and rcutree.gp_preinit_delay kernel boot
parameters.  These delays are strictly for debugging purposes, and have
proven quite effective at exposing bugs involving race with CPU-hotplug
operations.  However, these delays can result in false positives when
used in conjunction with callback flooding, for example, those generated
by the rcutorture.fwd_progress kernel boot parameter.

This commit therefore suppresses grace-period delays while callback
flooding is in progress.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcu.h
kernel/rcu/rcutorture.c
kernel/rcu/tree.c