cpuset: Minor cgroup2 interface updates
authorTejun Heo <tj@kernel.org>
Tue, 13 Nov 2018 20:03:33 +0000 (12:03 -0800)
committerTejun Heo <tj@kernel.org>
Tue, 13 Nov 2018 20:09:48 +0000 (12:09 -0800)
commitb1e3aeb11c5e86ee0988a038c4e7682d6beaa977
tree0f09319a493a92ae2a92611d6e43bab75018c16f
parent5cf8114d6e90b3822be5eb6a2faedf99d1c08f77
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>
Documentation/admin-guide/cgroup-v2.rst
kernel/cgroup/cpuset.c