• Paul E. McKenney's avatar
    rcu: Accelerate RCU callbacks at grace-period end · b11cc576
    Paul E. McKenney authored
    Now that callback acceleration is idempotent, it is safe to accelerate
    callbacks during grace-period cleanup on any CPUs that the kthread happens
    to be running on.  This commit therefore propagates the completion
    of the grace period to the per-CPU data structures, and also adds an
    rcu_advance_cbs() just before the cpu_needs_another_gp() check in order
    to reduce false-positive grace periods.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    b11cc576
rcutree.c 98.6 KB