diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-09-02 00:40:54 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-10-10 00:25:17 +0300 |
commit | f22ce09157239aab08eae99c678ef664f71a9097 (patch) | |
tree | 609a933ee76bc96887b79fb9aa35a036dce41952 /kernel/rcu/update.c | |
parent | 83b6ca1fede773eebcdfb44f5a94eb410d48b886 (diff) | |
download | linux-f22ce09157239aab08eae99c678ef664f71a9097.tar.xz |
rcu: Suppress RCU CPU stall warnings while dumping trace
Currently, RCU emits Suppress RCU CPU stall warnings during its
automatically initiated ftrace_dump() calls after detecting an error
condition, which can result in excessively excessive console output
and lost trace events. This commit therefore suppresses RCU CPU stall
warnings across any of these ftrace_dump() calls.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/update.c')
-rw-r--r-- | kernel/rcu/update.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcu/update.c b/kernel/rcu/update.c index 5033b66d2753..3dc8efb16dc7 100644 --- a/kernel/rcu/update.c +++ b/kernel/rcu/update.c @@ -494,6 +494,7 @@ EXPORT_SYMBOL_GPL(do_trace_rcu_torture_read); #endif int rcu_cpu_stall_suppress __read_mostly; /* 1 = suppress stall warnings. */ +EXPORT_SYMBOL_GPL(rcu_cpu_stall_suppress); static int rcu_cpu_stall_timeout __read_mostly = CONFIG_RCU_CPU_STALL_TIMEOUT; module_param(rcu_cpu_stall_suppress, int, 0644); |