summaryrefslogtreecommitdiffstats
path: root/include/xen/xenbus.h
diff options
context:
space:
mode:
authorLiu Song <fishland@aliyun.com>2019-02-21 22:13:27 +0800
committerPaul E. McKenney <paulmck@linux.ibm.com>2019-03-26 14:37:49 -0700
commit3ffe3d1adc0b6cfb9b24db9995a537bb0aa30a8b (patch)
tree73b20bcb0515f8bd86c092221415cfb2d2b2db1f /include/xen/xenbus.h
parent884157cef0acf05648fe921d80c680afababb428 (diff)
downloadlinux-3ffe3d1adc0b6cfb9b24db9995a537bb0aa30a8b.tar.bz2
rcu: Set rcutree.kthread_prio sysfs access to read-only
The rcutree.kthread_prio kernel-boot parameter is used to set the priority for boost (rcub), per-CPU (rcuc), and grace-period (rcu_preempt or rcu_sched) kthreads. It is also used by rcutorture to check whether it is possible to meaningfully test RCU priority boosting. However, all of these cases will either ignore or be confused by any post-boot changes to rcutree.kthread_prio. Note that the user really can change the priorities of all of these kthreads using chrt, given sufficient privileges. Therefore, the read-write nature of sysfs access to rcutree.kthread_prio is thus at best an attractive nuisance. This commit therefore changes sysfs access to rcutree.kthread_prio to be read-only. Signed-off-by: Liu Song <liu.song11@zte.com.cn> Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'include/xen/xenbus.h')
0 files changed, 0 insertions, 0 deletions