From: Paul E. McKenney Date: Wed, 14 Jul 2010 21:38:30 +0000 (-0700) Subject: rcu: allow RCU CPU stall warning messages to be controlled in /sys X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f2e0dd7090eddef427ab9d9f81de122244cded51;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Signed-off-by: Paul E. McKenney --- 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); #ifdef CONFIG_RCU_CPU_STALL_DETECTOR int rcu_cpu_stall_suppress __read_mostly; -module_param(rcu_cpu_stall_suppress, int, 0); +module_param(rcu_cpu_stall_suppress, int, 0644); #endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */ static void force_quiescent_state(struct rcu_state *rsp, int relaxed);