Skip to content

cgroup/cpuset: Run SCHED_DEADLINE shrink test on valid partition root only

Waiman Long cgroups lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. 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 filesSizeRepliesApplied
1/2cgroup/cpuset: Run SCHED_DEADLINE shrink test on valid partition root onlykernel/cgroup/cpuset.c+4 -32 replies
2/2cgroup/cpuset: Remove CS_CPU_EXCLUSIVE handling code from v2kernel/cgroup/cpuset.c+4 -482 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRidong ChenGuopeng Zhang
1/2R-b R-b
2/2R-b R-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-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