rcu: Accelerate RCU callbacks at grace-period end
authorPaul E. McKenney <paul.mckenney@linaro.org>
Mon, 17 Dec 2012 22:21:14 +0000 (14:21 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 26 Mar 2013 15:04:50 +0000 (08:04 -0700)
commitb11cc5760a9c48c870ad286e8a6d8fdb998fa58d
treedbe928742df4835403e9a277042dbcaec516b36b
parent5e44ce35a6ec1a16522fa2099dda27aefd8a584e
rcu: Accelerate RCU callbacks at grace-period end

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: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c