]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Make rcutree module parameters visible in sysfs
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 1 Jul 2012 22:42:33 +0000 (15:42 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Sep 2012 14:41:55 +0000 (07:41 -0700)
commit8f68b5d996b3da1bd928ad12732675ea029718f7
tree0abd7beba01a6b7f61d9c9879bf397d138eefe0b
parentfe60fa2d039f0a3def6478c9db5a84efcc6289a7
rcu: Make rcutree module parameters visible in sysfs

The module parameters blimit, qhimark, and qlomark (and more
recently, rcu_fanout_leaf) have permission masks of zero, so
that their values are not visible from sysfs.  This is unnecessary
and inconvenient to administrators who might like an easy way to
see what these values are on a running system.  This commit therefore
sets their permission masks to 0444, allowing them to be read but
not written.

Reported-by: Rusty Russell <rusty@ozlabs.org>
Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcutree.c