Skip to content

cgroup/cpuset: Fix miscellaneous issues

Waiman Long cgroups linux-doc linux-kselftest lkml 2 versions – Applied

Status from this message: Applied to cgroup/for-6.11.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 3 repliesApplied
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Fix test_cpuset_prs.sh problems reported by test robot
- Relax restriction imposed between cpuset.cpus.exclusive and cpuset.cpus of sibling cpusets.
- Make cpuset.cpus.exclusive independent of cpuset.cpus.
- Update test_cpuset_prs.sh accordingly.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5cgroup/cpuset: Fix remote root partition creation problemkernel/cgroup/cpuset.c+42 -130 replies
2/5selftest/cgroup: Fix test_cpuset_prs.sh problems reported by test robottools/testing/selftests/cgroup/test_cpuset_prs.sh+14 -60 replies
3/5cgroup/cpuset: Delay setting of CS_CPU_EXCLUSIVE until valid partitionDocumentation/admin-guide/cgroup-v2.rst kernel/cgroup/cpuset.c+35 -90 replies
4/5cgroup/cpuset: Make cpuset.cpus.exclusive independent of cpuset.cpusDocumentation/admin-guide/cgroup-v2.rst kernel/cgroup/cpuset.c+49 -222 replies
5/5selftest/cgroup: Update test_cpuset_prs.sh to match changestools/testing/selftests/cgroup/test_cpuset_prs.sh+40 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH-cgroup v2 0/5] cgroup/cpuset: Fix miscellaneous issues

v2:
- Fix test_cpuset_prs.sh problems reported by test robot
- Relax restriction imposed between cpuset.cpus.exclusive and cpuset.cpus of sibling cpusets.
- Make cpuset.cpus.exclusive independent of cpuset.cpus.
- Update test_cpuset_prs.sh accordingly.

[v1] https://lore.kernel.org/lkml/[email protected]/

This patchset attempts to address the following cpuset issues.
1) While reviewing the generate_sched_domains() function, I found a bug in generating sched domains for remote non-isolating partitions.
2) Test robot had reported a test_cpuset_prs.sh test failure.
3) The current exclusivity test between cpuset.cpus.exclusive and cpuset.cpus and the restriction that the set effective exclusive CPUs has to be a subset of cpuset.cpus make it harder to preconfigure the cgroup hierarchy to enable remote partition.

The test_cpuset_prs.sh script is updated to match changes made in this patchset and was run to verify that the new code did not cause any regression.

Waiman Long (5):
cgroup/cpuset: Fix remote root partition creation problem selftest/cgroup: Fix test_cpuset_prs.sh problems reported by test
robot
cgroup/cpuset: Delay setting of CS_CPU_EXCLUSIVE until valid partition cgroup/cpuset: Make cpuset.cpus.exclusive independent of cpuset.cpus selftest/cgroup: Update test_cpuset_prs.sh to match changes

 Documentation/admin-guide/cgroup-v2.rst       |  12 +-
 kernel/cgroup/cpuset.c                        | 158 +++++++++++++-----
 .../selftests/cgroup/test_cpuset_prs.sh       |  75 ++++++---
 3 files changed, 180 insertions(+), 65 deletions(-)
Signature · 1 line
2.39.3