rcu: Rearrange locking in rcu_start_gp()
authorPaul E. McKenney <paul.mckenney@linaro.org>
Sat, 29 Dec 2012 22:52:41 +0000 (14:52 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 26 Mar 2013 15:04:52 +0000 (08:04 -0700)
commitb92db6cb7efcbd41e469e1d757c47da4865f7622
treeeb01e59dc149f3c6f0faa581b3cf56a25122c521
parentc0f4dfd4f90f1667d234d21f15153ea09a2eaa66
rcu: Rearrange locking in rcu_start_gp()

If CPUs are to give prior notice of needed grace periods, it will be
necessary to invoke rcu_start_gp() without dropping the root rcu_node
structure's ->lock.  This commit takes a first step in this direction
by moving the release of this lock to the end of rcu_start_gp().

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