Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b08517c7 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent c5865638
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);