aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-10-22 10:12:34 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-12-11 13:31:28 -0500
commitb40d293eb36ba40cd428b6d178db911174689702 (patch)
tree78109a13c0bf86608f3caaea547fd9e948aee743 /kernel/rcutree.c
parent34240697d619c439c55f21989680024dcb604aab (diff)
rcu: Omit self-awaken when setting up expedited grace period
When setting up an expedited grace period, if there were no readers, the task will awaken itself. This commit removes this useless self-awakening. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
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 69b6cdd4f944..8afb2e89745b 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -1320,7 +1320,7 @@ static void __rcu_offline_cpu(int cpu, struct rcu_state *rsp)
1320 else 1320 else
1321 raw_spin_unlock_irqrestore(&rnp->lock, flags); 1321 raw_spin_unlock_irqrestore(&rnp->lock, flags);
1322 if (need_report & RCU_OFL_TASKS_EXP_GP) 1322 if (need_report & RCU_OFL_TASKS_EXP_GP)
1323 rcu_report_exp_rnp(rsp, rnp); 1323 rcu_report_exp_rnp(rsp, rnp, true);
1324 rcu_node_kthread_setaffinity(rnp, -1); 1324 rcu_node_kthread_setaffinity(rnp, -1);
1325} 1325}
1326 1326