rcu: Push lock release to rcu_start_gp()'s callers
authorPaul E. McKenney <paul.mckenney@linaro.org>
Sun, 30 Dec 2012 06:04:18 +0000 (22:04 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 26 Mar 2013 15:04:55 +0000 (08:04 -0700)
commitb8462084a2a88a6a0489f9bb7d8b1bb95bc455ab
treec784b3be6b83d2f55cac528c6c877504c27078df
parentbd9f0686fc8c9a01c6850b1c611d1c9ad80b86d6
rcu: Push lock release to rcu_start_gp()'s callers

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 second step in this direction
by moving the release of this lock to rcu_start_gp()'s callers.

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