Skip to content

cgroup/cpuset: Fix some more bugs in cpuset partition code

Waiman Long cgroups linux-kselftest lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 5 repliesIn review

Changes in v2 from the cover letter

- Add two fix patches for problems reported by sashiko and Guopeng.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cgroup/cpuset: Fix incorrect CPU accounting with parent's effective_xcpus expansionkernel/cgroup/cpuset.c tools/testing/selftests/cgroup/test_cpuset_prs.sh+27 -01 reply
2/3cgroup/cpuset: Recompute effective cpumask in update_cpumasks_hier() after calling update_parent_effective_cpumask()kernel/cgroup/cpuset.c+4 -41 reply
3/3cgroup/cpuset: Do housekeeping check when isolated child with root parent may get more xcpuskernel/cgroup/cpuset.c tools/testing/selftests/cgroup/test_cpuset_prs.sh+23 -51 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGuopeng Zhang
SeriesR-b T-b
1/3R-b T-b
2/3R-b T-b
3/3R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] cgroup/cpuset: Fix some more bugs in cpuset partition code

v2:
- Add two fix patches for problems reported by sashiko and Guopeng.

This is another series of 3 fix patches for bugs in cpuset partition code.

Waiman Long (3):
cgroup/cpuset: Fix incorrect CPU accounting with parent's
effective_xcpus expansion
cgroup/cpuset: Recompute effective cpumask in update_cpumasks_hier()
after calling update_parent_effective_cpumask()
cgroup/cpuset: Do housekeeping check when isolated child with root
parent may get more xcpus

 kernel/cgroup/cpuset.c                        | 32 ++++++++++++++++---
 .../selftests/cgroup/test_cpuset_prs.sh       | 25 +++++++++++++--
 2 files changed, 51 insertions(+), 6 deletions(-)
Signature · 1 line
2.56.0