summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2026-01-12 11:00:19 -0500
committerTejun Heo <tj@kernel.org>2026-01-12 09:02:14 -1000
commit6e6f13f6d5095f3a432da421e78f4d7d51ef39c8 (patch)
tree7f3ea66c33291e5f412933c03b64b4472c32c1e8 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parenta1a01793ae1f6f99fd7174988d49b43cd1cb36c3 (diff)
cgroup/cpuset: Don't fail cpuset.cpus change in v2
Commit fe8cd2736e75 ("cgroup/cpuset: Delay setting of CS_CPU_EXCLUSIVE until valid partition") introduced a new check to disallow the setting of a new cpuset.cpus.exclusive value that is a superset of a sibling's cpuset.cpus value so that there will at least be one CPU left in the sibling in case the cpuset becomes a valid partition root. This new check does have the side effect of failing a cpuset.cpus change that make it a subset of a sibling's cpuset.cpus.exclusive value. With v2, users are supposed to be allowed to set whatever value they want in cpuset.cpus without failure. To maintain this rule, the check is now restricted to only when cpuset.cpus.exclusive is being changed not when cpuset.cpus is changed. The cgroup-v2.rst doc file is also updated to reflect this change. Signed-off-by: Waiman Long <longman@redhat.com> Reviewed-by: Chen Ridong <chenridong@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions