[PATCH-next v2 0/2] cgroup/cpuset: Run SCHED_DEADLINE shrink test on valid partition root only
From: Waiman Long
Date: Sun Sep 27 2026 - 17:54:23 EST
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(-)
--
2.55.0