aboutsummaryrefslogtreecommitdiff
path: root/net/netlabel
diff options
context:
space:
mode:
authorGravatar Waiman Long <longman@redhat.com> 2023-09-05 09:32:39 -0400
committerGravatar Tejun Heo <tj@kernel.org> 2023-09-18 10:32:31 -1000
commite2ffe502ba4505ee9c7b432980c702b7801a37f3 (patch)
tree0609413c35c6bd6160ed5115dbc7e4a0b7c9bc85 /net/netlabel
parentcgroup/cpuset: Add cpuset.cpus.exclusive.effective for v2 (diff)
downloadlinux-e2ffe502ba4505ee9c7b432980c702b7801a37f3.tar.gz
linux-e2ffe502ba4505ee9c7b432980c702b7801a37f3.tar.bz2
linux-e2ffe502ba4505ee9c7b432980c702b7801a37f3.zip
cgroup/cpuset: Add cpuset.cpus.exclusive for v2
This patch introduces a new writable "cpuset.cpus.exclusive" control file for v2 which will be added to non-root cpuset enabled cgroups. This new file enables user to set a smaller list of exclusive CPUs to be used in the creation of a cpuset partition. The value written to "cpuset.cpus.exclusive" may not be the effective value being used for the creation of cpuset partition, the effective value will show up in "cpuset.cpus.exclusive.effective" and it is subject to the constraint that it must also be a subset of cpus_allowed and parent's "cpuset.cpus.exclusive.effective". By writing to "cpuset.cpus.exclusive", "cpuset.cpus.exclusive.effective" may be set to a non-empty value even for cgroups that are not valid partition roots yet. Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions