[PATCH 0/2] cgroup/cpuset: Fix partition updates using stale CPU masks

From: Guopeng Zhang

Date: Sat Oct 10 2026 - 04:04:58 EST


From: Guopeng Zhang <zhangguopeng@xxxxxxxxxx>

These patches fix two cases where partition updates read stale configured
CPU masks:

1. Shrinking cpuset.cpus of a remote partition can leave a removed CPU
unavailable to the top cpuset.
2. Updating cpuset.cpus.exclusive can leave an invalid local partition
unable to recover after the mask becomes valid.

Move each configured mask update before partition_cpus_change().

Guopeng Zhang (2):
cgroup/cpuset: Fix cpuset.cpus update in a remote partition
cgroup/cpuset: Fix invalid local partition recovery

kernel/cgroup/cpuset.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

--
2.43.0