diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-06-29 17:34:59 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-08-22 12:30:26 -0400 |
commit | 908d2c1fd156d414008e1b7e1fb5a7716e013231 (patch) | |
tree | d809541bf135fd933a30bf05a326ee3318023846 | |
parent | 8b355e3bc1408be238ae4695fb6318ae502cae8e (diff) |
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>
-rw-r--r-- | kernel/rcu/tree_exp.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/kernel/rcu/tree_exp.h b/kernel/rcu/tree_exp.h index 97f5ffe42b58..3a647eb96f23 100644 --- a/kernel/rcu/tree_exp.h +++ b/kernel/rcu/tree_exp.h | |||
@@ -427,12 +427,7 @@ static void synchronize_sched_expedited_wait(struct rcu_state *rsp) | |||
427 | jiffies_stall); | 427 | jiffies_stall); |
428 | if (ret > 0 || sync_rcu_preempt_exp_done(rnp_root)) | 428 | if (ret > 0 || sync_rcu_preempt_exp_done(rnp_root)) |
429 | return; | 429 | return; |
430 | if (ret < 0) { | 430 | WARN_ON(ret < 0); /* workqueues should not be signaled. */ |
431 | /* Hit a signal, disable CPU stall warnings. */ | ||
432 | swait_event(rsp->expedited_wq, | ||
433 | sync_rcu_preempt_exp_done(rnp_root)); | ||
434 | return; | ||
435 | } | ||
436 | pr_err("INFO: %s detected expedited stalls on CPUs/tasks: {", | 431 | pr_err("INFO: %s detected expedited stalls on CPUs/tasks: {", |
437 | rsp->name); | 432 | rsp->name); |
438 | ndetected = 0; | 433 | ndetected = 0; |