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

Sun Shaojie posted 2 patches 1 week, 5 days ago
Only 1 patches received!
kernel/cgroup/cpuset.c                            | 13 +++++++------
tools/testing/selftests/cgroup/test_cpuset_prs.sh | 10 ++++++++++
2 files changed, 17 insertions(+), 6 deletions(-)
[PATCH v2 0/2] cgroup/cpuset: Fix sibling CPU exclusion in partcmd_update
Posted by Sun Shaojie 1 week, 5 days ago
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
Re: [PATCH v2 0/2] cgroup/cpuset: Fix sibling CPU exclusion in partcmd_update
Posted by Tejun Heo 1 week, 4 days ago
Hello,

On Wed, May 27, 2026 at 02:43:27PM +0800, Sun Shaojie wrote:
> 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

Applied to cgroup/for-7.1-fixes with the following changes:

- Added Cc: stable@vger.kernel.org # v7.0+ to the fix since 2a3602030d80
  shipped in v7.0.
- Added Reviewed-by: Waiman Long <longman@redhat.com> to both patches.

Thanks.

--
tejun