diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-10-31 15:05:04 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-01-06 14:02:43 -0500 |
commit | b6a932d1d9840727eee619d455bdeeedaa205be9 (patch) | |
tree | bb1f9962187de759feb932378dd1299ec9488ff0 /kernel/rcu/tree.c | |
parent | 8af3a5e78cfb63abe8813743946b7bd5a8a3134c (diff) |
rcu: Make rcu_read_unlock_special() propagate ->qsmaskinit bit clearing
This commit causes rcu_read_unlock_special() to propagate ->qsmaskinit
bit clearing up the rcu_node tree once a given rcu_node structure's
blkd_tasks list becomes empty. This is the final commit in preparation
for the rework of RCU priority boosting: It enables preempted tasks to
remain queued on their rcu_node structure even after all of that rcu_node
structure's CPUs have gone offline.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.c')
-rw-r--r-- | kernel/rcu/tree.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 75c6b3301abb..6625a1b5d9a1 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c | |||
@@ -2329,6 +2329,10 @@ static void rcu_cleanup_dying_cpu(struct rcu_state *rsp) | |||
2329 | { | 2329 | { |
2330 | } | 2330 | } |
2331 | 2331 | ||
2332 | static void __maybe_unused rcu_cleanup_dead_rnp(struct rcu_node *rnp_leaf) | ||
2333 | { | ||
2334 | } | ||
2335 | |||
2332 | static void rcu_cleanup_dead_cpu(int cpu, struct rcu_state *rsp) | 2336 | static void rcu_cleanup_dead_cpu(int cpu, struct rcu_state *rsp) |
2333 | { | 2337 | { |
2334 | } | 2338 | } |