• Paul E. McKenney's avatar
    rcu: Force tick on for nohz_full CPUs not reaching quiescent states · 66e4c33b
    Paul E. McKenney authored
    CPUs running for long time periods in the kernel in nohz_full mode
    might leave the scheduling-clock interrupt disabled for then full
    duration of their in-kernel execution.  This can (among other things)
    delay grace periods.  This commit therefore forces the tick back on
    for any nohz_full CPU that is failing to pass through a quiescent state
    upon return from interrupt, which the resched_cpu() will induce.
    Reported-by: default avatarJoel Fernandes <joel@joelfernandes.org>
    [ paulmck: Clear ->rcu_forced_tick as reported by Joel Fernandes testing. ]
    [ paulmck: Apply Joel Fernandes TICK_DEP_MASK_RCU->TICK_DEP_BIT_RCU fix. ]
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    66e4c33b
tree.h 19.3 KB