[PATCH v2 0/3] cgroup/cpuset: Preserve boot-isolated CPUs on partition release

From: Guopeng Zhang

Date: Sun Aug 23 2026 - 22:02:29 EST


From: Guopeng Zhang <zhangguopeng@xxxxxxxxxx>

This series fixes the loss of boot-isolated CPUs when an isolated cpuset
partition is released. It also removes a selftest comparison against a
boot-only sysfs mask which cannot track dynamic cpuset isolation.

---
Changes since v1:
- split the boot-isolation fixes from the original 17-patch series;
- explain why the boot-only sysfs mask cannot validate dynamic cpuset
isolation;
- add reproducers and observed/expected results to patches 1 and 2;
- no code changes.

Link: https://lore.kernel.org/all/20260820124202.517160-1-guopeng.zhang@xxxxxxxxx/

Guopeng Zhang (3):
selftests/cgroup: Drop invalid boot isolation comparison
cgroup/cpuset: Preserve boot-isolated CPUs on partition release
selftests/cgroup: Add test for preserving boot-isolated CPUs

kernel/cgroup/cpuset.c | 39 ++++++++---
.../selftests/cgroup/test_cpuset_prs.sh | 64 +++++++++++++++++--
2 files changed, 87 insertions(+), 16 deletions(-)


base-commit: 6a746cd265aed59107ebdaa9ce039bb832922969
--
2.43.0