rcu: Move _rcu_barrier()'s rcu_head structures to rcu_data structures
authorPaul E. McKenney <paul.mckenney@linaro.org>
Tue, 29 May 2012 06:57:46 +0000 (23:57 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 2 Jul 2012 19:33:21 +0000 (12:33 -0700)
commit06668efa9180f4824fe846a8ff96338c18646bc7
tree2bda53825cb3437af82bc1db4a4114ee8e29e954
parent037b64ed0bf2405a1a01542164d3418564b44fff
rcu: Move _rcu_barrier()'s rcu_head structures to rcu_data structures

In order for multiple flavors of RCU to each concurrently run one
rcu_barrier(), each flavor needs its own per-CPU set of rcu_head
structures.  This commit therefore moves _rcu_barrier()'s set of
per-CPU rcu_head structures from per-CPU variables to the existing
per-CPU and per-RCU-flavor rcu_data structures.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcutree.c
kernel/rcutree.h