rcu: Make rcu_accelerate_cbs() note need for future grace periods
authorPaul E. McKenney <paul.mckenney@linaro.org>
Mon, 31 Dec 2012 10:24:21 +0000 (02:24 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 26 Mar 2013 15:04:58 +0000 (08:04 -0700)
commit910ee45db2f4837c8440e770474758493ab94bf7
treedbc53615c3874cf1ea5588677e7b5f48462dcaff
parent0446be489795d8bb994125a916ef03211f539e54
rcu: Make rcu_accelerate_cbs() note need for future grace periods

Now that rcu_start_future_gp() has been abstracted from
rcu_nocb_wait_gp(), rcu_accelerate_cbs() can invoke rcu_start_future_gp()
so as to register the need for any future grace periods needed by a
CPU about to enter dyntick-idle mode.  This commit makes this change.
Note that some refactoring of rcu_start_gp() is carried out to avoid
recursion and subsequent self-deadlocks.

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