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 and adds additional test cases in
test_cpuset_prs.sh to test for some of those issues.
Waiman Long (6):
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
selftests/cgroup: Add tests for housekeeping check
selftests/cgroup: Skip test_cpuset_prs.sh test if some required CPUs
are offline
kernel/cgroup/cpuset.c | 170 +++++++++---------
.../selftests/cgroup/test_cpuset_prs.sh | 125 ++++++++++---
2 files changed, 195 insertions(+), 100 deletions(-)
--
2.55.0