summaryrefslogtreecommitdiffstats
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorWaiman Long2018-11-08 16:08:44 +0100
committerTejun Heo2018-11-08 21:27:31 +0100
commitbb5b553c33cb3393f604483b103158bf7d01ca1c (patch)
tree5f994426745925b3e3cf510ddd287748ac65e139 /.get_maintainer.ignore
parentcpuset: Expose cpus.effective and mems.effective on cgroup v2 root (diff)
downloadkernel-qcow2-linux-bb5b553c33cb3393f604483b103158bf7d01ca1c.tar.gz
kernel-qcow2-linux-bb5b553c33cb3393f604483b103158bf7d01ca1c.tar.xz
kernel-qcow2-linux-bb5b553c33cb3393f604483b103158bf7d01ca1c.zip
cpuset: Use descriptive text when reading/writing cpuset.sched.partition
Currently, cpuset.sched.partition returns the values, 0, 1 or -1 on read. A person who is not familiar with the partition code may not understand what they mean. In order to make cpuset.sched.partition more user-friendly, it will now display the following descriptive text on read: "root" - A partition root (top cpuset of a partition) "member" - A non-root member of a partition "root invalid" - An invalid partition root Note that there is at least one partition in the whole cgroup hierarchy. The top cpuset is the root of that partition. The rests are either a root if it starts a new partition or a member of a partition. The cpuset.sched.partition file will now also accept "root" and "member" besides 1 and 0 as valid input values. The "root invalid" value is internal only and cannot be written to the file. Suggested-by: Tejun Heo <tj@kernel.org> Signed-off-by: Waiman Long <longman@redhat.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions