]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cpuset: remove global remote_children list
authorChen Ridong <chenridong@huawei.com>
Tue, 11 Nov 2025 13:24:28 +0000 (13:24 +0000)
committerTejun Heo <tj@kernel.org>
Tue, 11 Nov 2025 21:47:08 +0000 (11:47 -1000)
commit648d43da64f0221ab1050825b28995c17ce091a4
treebda1159a61864b735bce74099e177a0b20e9dd6f
parent0241e9e2bda3077ca6ec90f0a22120ba7a73e43b
cpuset: remove global remote_children list

The remote_children list is used to track all remote partitions attached
to a cpuset. However, it serves no other purpose. Using a boolean flag to
indicate whether a cpuset is a remote partition is a more direct approach,
making remote_children unnecessary.

This patch replaces the list with a remote_partition flag in the cpuset
structure and removes remote_children entirely.

Signed-off-by: Chen Ridong <chenridong@huawei.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cpuset-internal.h
kernel/cgroup/cpuset.c