]> 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>
Wed, 5 Sep 2012 18:59:12 +0000 (11:59 -0700)
commita1538765642ad5d0e277d6ed17f1d59c624a4aa5
tree8acc02c1d72374fb89987931fc5be22498ba60ac
parent0d4ab7873644ce98694eb901c94ba2e3f3b8ae22
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