diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-07-14 17:38:30 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-08-19 20:18:03 -0400 |
commit | f2e0dd7090eddef427ab9d9f81de122244cded51 (patch) | |
tree | 71f6dbc174eb9405c1d4313fafa2b5db369d5939 /kernel/rcutree.c | |
parent | ded5e5ed2f3348ba2f9a319c6497e46c22850e97 (diff) |
rcu: allow RCU CPU stall warning messages to be controlled in /sys
Set the permissions of the rcu_cpu_stall_suppress to 644 to enable RCU
CPU stall warnings to be enabled and disabled at runtime via sysfs.
Suggested-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r-- | kernel/rcutree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index f3d5906cbc21..5d910beefff2 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c | |||
@@ -145,7 +145,7 @@ module_param(qlowmark, int, 0); | |||
145 | 145 | ||
146 | #ifdef CONFIG_RCU_CPU_STALL_DETECTOR | 146 | #ifdef CONFIG_RCU_CPU_STALL_DETECTOR |
147 | int rcu_cpu_stall_suppress __read_mostly; | 147 | int rcu_cpu_stall_suppress __read_mostly; |
148 | module_param(rcu_cpu_stall_suppress, int, 0); | 148 | module_param(rcu_cpu_stall_suppress, int, 0644); |
149 | #endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */ | 149 | #endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */ |
150 | 150 | ||
151 | static void force_quiescent_state(struct rcu_state *rsp, int relaxed); | 151 | static void force_quiescent_state(struct rcu_state *rsp, int relaxed); |