Skip to content

Commit

Permalink
rcutorture: Add mid-sized stall to TREE07
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul E. McKenney authored and Neeraj Upadhyay (AMD) committed Nov 23, 2023
1 parent 454723b commit af19a25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
nohz_full=2-9
rcutorture.stall_cpu=14
rcutorture.stall_cpu_holdoff=90
rcutorture.fwd_progress=0

0 comments on commit af19a25

Please sign in to comment.