]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
rcu: Enable stall warnings for synchronize_rcu_expedited()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 18 Aug 2015 19:17:29 +0000 (12:17 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 7 Oct 2015 23:02:50 +0000 (16:02 -0700)
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>
kernel/rcu/tree_plugin.h

index 7b61cece80c0f6ae0c9f44dfc7a521bdbdd074e1..ffeb99e550e8436f6bb13408e4b36bc8a08010c7 100644 (file)
@@ -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);