mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
rcu: Stop disabling expedited RCU CPU stall warnings
Now that RCU expedited grace periods are always driven by a workqueue, there is no need to account for signal reception, and thus no need to disable expedited RCU CPU stall warnings due to signal reception. This commit therefore removes the signal-reception checks, leaving a WARN_ON() to catch possible future bugs. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
This commit is contained in:
parent
8b355e3bc1
commit
908d2c1fd1
1 changed files with 1 additions and 6 deletions
|
@ -427,12 +427,7 @@ static void synchronize_sched_expedited_wait(struct rcu_state *rsp)
|
||||||
jiffies_stall);
|
jiffies_stall);
|
||||||
if (ret > 0 || sync_rcu_preempt_exp_done(rnp_root))
|
if (ret > 0 || sync_rcu_preempt_exp_done(rnp_root))
|
||||||
return;
|
return;
|
||||||
if (ret < 0) {
|
WARN_ON(ret < 0); /* workqueues should not be signaled. */
|
||||||
/* Hit a signal, disable CPU stall warnings. */
|
|
||||||
swait_event(rsp->expedited_wq,
|
|
||||||
sync_rcu_preempt_exp_done(rnp_root));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
pr_err("INFO: %s detected expedited stalls on CPUs/tasks: {",
|
pr_err("INFO: %s detected expedited stalls on CPUs/tasks: {",
|
||||||
rsp->name);
|
rsp->name);
|
||||||
ndetected = 0;
|
ndetected = 0;
|
||||||
|
|
Loading…
Reference in a new issue