• Paul E. McKenney's avatar
    rcu: Diagnostics for grace-period startup hangs · 26d950a9
    Paul E. McKenney authored
    This commit causes a splat if RCU is idle and a request for a new grace
    period is ignored for more than one second.  This splat normally indicates
    that some code path asked for a new grace period, but failed to wake up
    the RCU grace-period kthread.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    [ paulmck: Fix bug located by Dan Carpenter and his static checker. ]
    [ paulmck: Fix self-deadlock bug located 0day test robot. ]
    [ paulmck: Disable unless CONFIG_PROVE_RCU=y. ]
    26d950a9
tree.c 130 KB