summaryrefslogtreecommitdiff
path: root/kernel/rcutree.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-06-24 22:23:02 +0200
committerClark Williams <williams@redhat.com>2012-02-15 10:32:35 -0600
commitd0c0dab5d149d8f424da5d52d3c64d27390098e4 (patch)
tree681e2e99733e2d695858a58a80e80ad21d585068 /kernel/rcutree.c
parent185326a6aa5586537bc88466c85468ca35f75e8e (diff)
rcu: Reduce lock section
So the waitqueue wakeup is outside the raw locked section. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r--kernel/rcutree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index 6b76d812740c..8ef8675a0fbb 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -1221,7 +1221,7 @@ static void __rcu_offline_cpu(int cpu, struct rcu_state *rsp)
else
raw_spin_unlock_irqrestore(&rnp->lock, flags);
if (need_report & RCU_OFL_TASKS_EXP_GP)
- rcu_report_exp_rnp(rsp, rnp);
+ rcu_report_exp_rnp(rsp, rnp, true);
rcu_node_kthread_setaffinity(rnp, -1);
}