cgroup/cpuset: Run SCHED_DEADLINE shrink test on valid partition root only
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 5 repliesIn review
- v12 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Leave the v1 code as is and switch between using is_cpu_exclusive() for v1 and is_partition_valid() for v2.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cgroup/cpuset: Run SCHED_DEADLINE shrink test on valid partition root onlykernel/ | +4 | 2 replies | |
| 2/2 | cgroup/cpuset: Remove CS_CPU_EXCLUSIVE handling code from v2kernel/ | +4 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Ridong Chen | Guopeng Zhang |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH-next v2 0/2] cgroup/cpuset: Run SCHED_DEADLINE shrink test on valid partition root only
v2:
- Leave the v1 code as is and switch between using is_cpu_exclusive() for v1 and is_partition_valid() for v2.
When testing some upstream cpuset patch, it was found that the current SCHED_DEADLINE shrink test in validate_change() can incorrectly get triggered due to the fact that the exclusive flag may get set on a cpuset that is not a valid partition root. This series fixes this problem by making sure that the test will only be triggered on a valid partition root and remove the now unnecessary code to handle the exclusive flag in the v2 code.
Waiman Long (2):
cgroup/cpuset: Run SCHED_DEADLINE shrink test on valid partition root
only
cgroup/cpuset: Remove CS_CPU_EXCLUSIVE handling code from v2
kernel/cgroup/cpuset.c | 59 ++++++------------------------------------ 1 file changed, 8 insertions(+), 51 deletions(-)
Signature · 1 line
2.55.0