rcu: Abstract rcu_start_future_gp() from rcu_nocb_wait_gp()
authorPaul E. McKenney <paul.mckenney@linaro.org>
Sun, 30 Dec 2012 23:21:01 +0000 (15:21 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 26 Mar 2013 15:04:57 +0000 (08:04 -0700)
commit0446be489795d8bb994125a916ef03211f539e54
tree051b6bce04ab8f9e8b7ea6f42879bb350e306805
parent8b425aa8f1acfe48aed919c7aadff2ed290fe969
rcu: Abstract rcu_start_future_gp() from rcu_nocb_wait_gp()

CPUs going idle will need to record the need for a future grace
period, but won't actually need to block waiting on it.  This commit
therefore splits rcu_start_future_gp(), which does the recording, from
rcu_nocb_wait_gp(), which now invokes rcu_start_future_gp() to do the
recording, after which rcu_nocb_wait_gp() does the waiting.

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.h
kernel/rcutree_plugin.h