Commit f2e0dd7090eddef427ab9d9f81de122244cded51

Authored by Paul E. McKenney
1 parent ded5e5ed2f

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -145,7 +145,7 @@
145 145  
146 146 #ifdef CONFIG_RCU_CPU_STALL_DETECTOR
147 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 149 #endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */
150 150  
151 151 static void force_quiescent_state(struct rcu_state *rsp, int relaxed);