[PATCH v2 0/2] cgroup/cpuset: Fix sibling CPU exclusion in partcmd_update

From: Sun Shaojie

Date: Wed May 27 2026 - 02:46:35 EST


Fix the partcmd_update path to use effective_xcpus instead of user_xcpus
for add/del mask calculation, and add test cases to verify the fix.

Changes in v2:
- Updated comments to match the code change (suggested by Zhang Guopeng)
- Added test cases for the fix

Sun Shaojie (2):
cgroup/cpuset: Use effective_xcpus in partcmd_update add/del mask
calculation
cgroup/cpuset: Add test cases for sibling CPU exclusion on partition
update

kernel/cgroup/cpuset.c | 13 +++++++------
tools/testing/selftests/cgroup/test_cpuset_prs.sh | 10 ++++++++++
2 files changed, 17 insertions(+), 6 deletions(-)

--
2.43.0