aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2023-11-01 10:30:56 -0700
committerNeeraj Upadhyay (AMD) <neeraj.iitr10@gmail.com>2023-11-23 11:58:18 +0530
commitaf19a2526cba92082723b98fcf191a595054a952 (patch)
treefe0a601d4d448aa4eb1516cc8707a8fb050e4095
parent454723b1615f7423fcba0b8f722cef4992a1846f (diff)
downloadlinux-rcu-af19a2526cba92082723b98fcf191a595054a952.tar.gz
rcutorture: Add mid-sized stall to TREE07
There is code in rcu_implicit_dynticks_qs() that checks for the current grace period being halfway to the RCU CPU stall timeout, but rcutorture currently does not test this code. This commit therefore adds a 14-second stall to the TREE07 scenario in order to test this code given the default RCU CPU stall warning timeout of 21 seconds. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Neeraj Upadhyay (AMD) <neeraj.iitr10@gmail.com>
-rw-r--r--tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot b/tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot
index d446099375038..979edbf4c8205 100644
--- a/tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot
+++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot
@@ -1 +1,4 @@
nohz_full=2-9
+rcutorture.stall_cpu=14
+rcutorture.stall_cpu_holdoff=90
+rcutorture.fwd_progress=0