cgroup/cpuset: Fix various housekeeping check problems
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest9 patches 3 repliesIn review
- v39 patches 11 repliesSuperseded
- v26 patches 14 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 5 patches | 0 replies | Superseded |
Changes in v4 from the cover letter
- Adjust a number of patches to fix issues reported by Sashiko and Guopeng Zhang.
- Add more test cases to test_cpuset_prs.sh to improve test coverage.
Patches in v4 No applies recorded yet
Reviews trailers per patch
4 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Guopeng Zhang |
|---|---|
| 1/9 | |
| 2/9 | R-b |
| 3/9 | |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | |
| 7/9 | R-b |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH-next v4 0/9] cgroup/cpuset: Fix various housekeeping check problems
v4:
- Adjust a number of patches to fix issues reported by Sashiko and Guopeng Zhang.
- Add more test cases to test_cpuset_prs.sh to improve test coverage.
v3:
- https://lore.kernel.org/lkml/[email protected]
- Further revise the code based on feedback from sashiko and reviewers.
- Add a new fix patch which fixes a bug found during the testing process.
- Add a patch to impose a new restriction that creating a child root partition under an isolated parent partition is not allowed.
v2:
- Update patches 2 and 3 to address bugs reported by sashiko.
- Add a new test_cpuset_prs.sh patch to skip the test if some of the required CPUs are offline.
Commit 4a74e418881f ("cgroup/cpuset: Check partition conflict with housekeeping setup") and commit 103b08709e8a ("cgroup/cpuset: Fail if isolated and nohz_full don't leave any housekeeping") add housekeeping checks to fail partition changes that will violate the housekeeping rules. However there are several issues that make the check incomplete and missing in some cases. This series fixes the various known housekeeing check issues as well as imposing a new restriction that a local root partition cannot be created underneath an isolated partition. This new restriction will eliminate a number of hard to tackle corner cases which are unlikely to be used by the end users at all.
The first patch fixes a bug found in the testing process which is not directly related to the goal of tackling the housekeeping check problem. This series also updates test_cpuset_prs.sh by adding new test cases to test the new code.
Waiman Long (9):
cgroup/cpuset: Fix a missing isolated_cpus update in
update_cpumasks_hier()
cgroup/cpuset: Consolidate isolated_cpus_can_update() into
prstate_housekeeping_conflict()
cgroup/cpuset: Consider all the exclusive CPUs when doing housekeeping
check
cgroup/cpuset: Do housekeeping check before converting invalid
partition to valid
cgroup/cpuset: Properly disabling partition when partition state
switching fails
cgroup/cpuset: Don't allow a child root partition under an isolated
parent
selftests/cgroup: Add tests for isolcpus housekeeping check selftests/cgroup: Add tests for nohz_full housekeeping check selftests/cgroup: Skip test_cpuset_prs.sh test if some required CPUs
are offline
Documentation/admin-guide/cgroup-v2.rst | 4 +- kernel/cgroup/cpuset-internal.h | 1 + kernel/cgroup/cpuset.c | 268 ++++++++++++------ .../selftests/cgroup/test_cpuset_prs.sh | 248 ++++++++++++---- 4 files changed, 381 insertions(+), 140 deletions(-)
Signature · 1 line
2.55.0