rcu: Move RCU_FAST_NO_HZ per-CPU variables to rcu_dynticks structure
authorPaul E. McKenney <paul.mckenney@linaro.org>
Wed, 9 May 2012 19:07:05 +0000 (12:07 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 7 Jun 2012 03:43:28 +0000 (20:43 -0700)
commit5955f7eecd77d6b440db278b266cfecdb72ecd00
treea69a23707da5595be22fa09738be572a4ef69b4c
parentfd4b352687fd8604d49c190c4c9ea9e369fd42d5
rcu: Move RCU_FAST_NO_HZ per-CPU variables to rcu_dynticks structure

The RCU_FAST_NO_HZ code relies on a number of per-CPU variables.
This works, but is hidden from someone scanning the data structures
in rcutree.h.  This commit therefore converts these per-CPU variables
to fields in the per-CPU rcu_dynticks structures.

Suggested-by: Peter Zijlstra <peterz@infradead.org>
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.h
kernel/rcutree_plugin.h