]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 23 Jul 2012 15:30:25 +0000 (08:30 -0700)
commit2e290b6fc405470adc2adb57eb355a88b26154eb
tree4a7e565fb0d06ae72f3cc6230d21ab550298b29c
parentbb3c02cce0618f45dea91be0abdcd953423f0c15
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.

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