• Paul E. McKenney's avatar
    rcu: Parameterize rcu_check_gp_start_stall() · 791416c4
    Paul E. McKenney authored
    In order to debug forward-progress stalls, it is necessary to check
    for excessively delayed grace-period starts.  This is currently done
    for RCU CPU stall warnings by rcu_check_gp_start_stall(), which checks
    to see if the start of a requested grace period has been delayed by an
    RCU CPU stall warning period.  Because rcutorture will need to check
    for the time consumed by an RCU forward-progress delay, this commit
    promotes gpssdelay from a local variable to a formal parameter.  It is
    not necessary to export rcu_check_gp_start_stall() because rcutorture
    will access it via a wrapper function.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
    791416c4
tree.c 118 KB