rcu: Move rcu_barrier_completion to rcu_state structure
authorPaul E. McKenney <paul.mckenney@linaro.org>
Tue, 29 May 2012 10:03:37 +0000 (03:03 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 2 Jul 2012 19:33:22 +0000 (12:33 -0700)
commit7db74df88b52844f4e966901e2972bba725e6766
treeccb2139d2c4628591287bf456ede1164cef43d0f
parent24ebbca8ecdd5129d7f829a7cb5146aaeb531f77
rcu: Move rcu_barrier_completion to rcu_state structure

In order to allow each RCU flavor to concurrently execute its
rcu_barrier() function, it is necessary to move the relevant
state to the rcu_state structure.  This commit therefore moves the
rcu_barrier_completion global variable to a new ->barrier_completion
field in the rcu_state structure.

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