aboutsummaryrefslogtreecommitdiff
path: root/kernel/rcu/tree_plugin.h
diff options
context:
space:
mode:
authorGravatar Paul E. McKenney <paulmck@linux.vnet.ibm.com> 2015-08-18 12:17:29 -0700
committerGravatar Paul E. McKenney <paulmck@linux.vnet.ibm.com> 2015-10-07 16:02:50 -0700
commitb08517c76d764c373c232cd309ed058c98705219 (patch)
treeed7acf44fb18702c5c2ca33ff7460ac8ec94761b /kernel/rcu/tree_plugin.h
parentrcu: Add tasks to expedited stall-warning messages (diff)
downloadlinux-b08517c76d764c373c232cd309ed058c98705219.tar.gz
linux-b08517c76d764c373c232cd309ed058c98705219.tar.bz2
linux-b08517c76d764c373c232cd309ed058c98705219.zip
rcu: Enable stall warnings for synchronize_rcu_expedited()
This commit redirects synchronize_rcu_expedited()'s wait to synchronize_sched_expedited_wait(), thus enabling RCU CPU stall warnings. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree_plugin.h')
-rw-r--r--kernel/rcu/tree_plugin.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index 7b61cece80c0..ffeb99e550e8 100644
--- a/kernel/rcu/tree_plugin.h
+++ b/kernel/rcu/tree_plugin.h
@@ -761,8 +761,7 @@ void synchronize_rcu_expedited(void)
/* Wait for snapshotted ->blkd_tasks lists to drain. */
rnp = rcu_get_root(rsp);
- wait_event(rsp->expedited_wq,
- sync_rcu_preempt_exp_done(rnp));
+ synchronize_sched_expedited_wait(rsp);
/* Clean up and exit. */
rcu_exp_gp_seq_end(rsp);