]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb74956ac69802fb590d42754c553855c29385de9
treec784b3be6b83d2f55cac528c6c877504c27078df
parent8eb0e9673437b6101ef88735231a1b9e9c23ab4e
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