aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paul.mckenney@linaro.org>2012-12-30 18:21:01 -0500
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-03-26 11:04:57 -0400
commit0446be489795d8bb994125a916ef03211f539e54 (patch)
tree051b6bce04ab8f9e8b7ea6f42879bb350e306805 /kernel/rcutree.h
parent8b425aa8f1acfe48aed919c7aadff2ed290fe969 (diff)
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>
Diffstat (limited to 'kernel/rcutree.h')
-rw-r--r--kernel/rcutree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutree.h b/kernel/rcutree.h
index 034b524594bd..c11b46c33159 100644
--- a/kernel/rcutree.h
+++ b/kernel/rcutree.h
@@ -526,7 +526,7 @@ static void zero_cpu_stall_ticks(struct rcu_data *rdp);
526static void increment_cpu_stall_ticks(void); 526static void increment_cpu_stall_ticks(void);
527static int rcu_nocb_needs_gp(struct rcu_state *rsp); 527static int rcu_nocb_needs_gp(struct rcu_state *rsp);
528static void rcu_nocb_gp_set(struct rcu_node *rnp, int nrq); 528static void rcu_nocb_gp_set(struct rcu_node *rnp, int nrq);
529static int rcu_nocb_gp_cleanup(struct rcu_state *rsp, struct rcu_node *rnp); 529static void rcu_nocb_gp_cleanup(struct rcu_state *rsp, struct rcu_node *rnp);
530static void rcu_init_one_nocb(struct rcu_node *rnp); 530static void rcu_init_one_nocb(struct rcu_node *rnp);
531static bool is_nocb_cpu(int cpu); 531static bool is_nocb_cpu(int cpu);
532static bool __call_rcu_nocb(struct rcu_data *rdp, struct rcu_head *rhp, 532static bool __call_rcu_nocb(struct rcu_data *rdp, struct rcu_head *rhp,