rcu: RCU_FAST_NO_HZ detection of callback adoption
authorPaul E. McKenney <paul.mckenney@linaro.org>
Fri, 4 May 2012 15:31:53 +0000 (08:31 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 7 Jun 2012 03:43:27 +0000 (20:43 -0700)
commit8f5af6f1f2d09fe5eac86a5dc1731a5917c1503a
treeb7093c8c08377f23645cc7d3619f3fc5c5bdf6f8
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f
rcu: RCU_FAST_NO_HZ detection of callback adoption

In the present implementations of CPU hotplug, the outgoing CPU is
guaranteed to run its stop-machine process on the way out, which
will guarantee that RCU_FAST_NO_HZ forces the CPU out of dyntick-idle
mode.

However, new versions of CPU hotplug might not work this way.  This
commit therefore removes this design constraint by explicitly notifying
CPUs when they adopt non-lazy RCU callbacks.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Tested-by: Pascal Chapperon <pascal.chapperon@wanadoo.fr>
kernel/rcutree.c