summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/cgroup-v2.rst
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2018-11-13 12:03:33 -0800
committerTejun Heo <tj@kernel.org>2018-11-13 12:09:48 -0800
commitb1e3aeb11c5e86ee0988a038c4e7682d6beaa977 (patch)
tree0f09319a493a92ae2a92611d6e43bab75018c16f /Documentation/admin-guide/cgroup-v2.rst
parent5cf8114d6e90b3822be5eb6a2faedf99d1c08f77 (diff)
downloadlwn-b1e3aeb11c5e86ee0988a038c4e7682d6beaa977.tar.gz
lwn-b1e3aeb11c5e86ee0988a038c4e7682d6beaa977.zip
cpuset: Minor cgroup2 interface updates
* Rename the partition file from "cpuset.sched.partition" to "cpuset.cpus.partition". * When writing to the partition file, drop "0" and "1" and only accept "member" and "root". Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Waiman Long <longman@redhat.com>
Diffstat (limited to 'Documentation/admin-guide/cgroup-v2.rst')
-rw-r--r--Documentation/admin-guide/cgroup-v2.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst
index f83a5231bbe3..07e06136a550 100644
--- a/Documentation/admin-guide/cgroup-v2.rst
+++ b/Documentation/admin-guide/cgroup-v2.rst
@@ -1708,15 +1708,15 @@ Cpuset Interface Files
Its value will be affected by memory nodes hotplug events.
- cpuset.sched.partition
+ cpuset.cpus.partition
A read-write single value file which exists on non-root
cpuset-enabled cgroups. This flag is owned by the parent cgroup
and is not delegatable.
It accepts only the following input values when written to.
- "root" or "1" - a paritition root
- "member" or "0" - a non-root member of a partition
+ "root" - a paritition root
+ "member" - a non-root member of a partition
When set to be a partition root, the current cgroup is the
root of a new partition or scheduling domain that comprises