]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cgroup/cpuset: Check for partition roots with overlapping CPUs
authorWaiman Long <longman@redhat.com>
Mon, 5 Aug 2024 01:30:18 +0000 (21:30 -0400)
committerTejun Heo <tj@kernel.org>
Mon, 5 Aug 2024 20:57:38 +0000 (10:57 -1000)
commit99570300d3b4c8a1463491754d58e7a8d87cacef
tree0e6f43298218819a3311838d95fe7d6d9b1c58c9
parentbc3c27516ffd836485446219344b2b74a5efb483
cgroup/cpuset: Check for partition roots with overlapping CPUs

With the previous commit that eliminates the overlapping partition
root corner cases in the hotplug code, the partition roots passed down
to generate_sched_domains() should not have overlapping CPUs. Enable
overlapping cpuset check for v2 and warn if that happens.

This patch also has the benefit of increasing test coverage of the new
Union-Find cpuset merging code to cgroup v2.

Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cpuset.c