diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2019-12-05 22:29:01 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-02-21 03:03:30 +0300 |
commit | 58c53360b36d2077cbb843e7ad2bf75f0498271c (patch) | |
tree | f323d4850bdf31fd078e6a654ebb60cf50e9fd82 /kernel/rcu/tree_exp.h | |
parent | a59ee765a6890e7f4281070008a2654337458311 (diff) | |
download | linux-58c53360b36d2077cbb843e7ad2bf75f0498271c.tar.xz |
rcutorture: Allow boottime stall warnings to be suppressed
In normal production, an RCU CPU stall warning at boottime is often
just as bad as at any other time. In fact, given the desire for fast
boot, any sort of long-term stall at boot is a bad idea. However,
heavy rcutorture testing on large hyperthreaded systems can generate
boottime RCU CPU stalls as a matter of course. This commit therefore
provides a kernel boot parameter that suppresses reporting of boottime
RCU CPU stall warnings and similarly of rcutorture writer stalls.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu/tree_exp.h')
-rw-r--r-- | kernel/rcu/tree_exp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tree_exp.h b/kernel/rcu/tree_exp.h index a72d16eb869e..c28d9f0034c3 100644 --- a/kernel/rcu/tree_exp.h +++ b/kernel/rcu/tree_exp.h @@ -518,7 +518,7 @@ static void synchronize_rcu_expedited_wait(void) for (;;) { if (synchronize_rcu_expedited_wait_once(jiffies_stall)) return; - if (rcu_cpu_stall_suppress) + if (rcu_stall_is_suppressed()) continue; panic_on_rcu_stall(); pr_err("INFO: %s detected expedited stalls on CPUs/tasks: {", |