Re: [PATCH 2/2] sched/deadline: Correctly account for allocated bandwidth during hotplug

From: Waiman Long
Date: Wed Nov 13 2024 - 11:42:48 EST



On 11/13/24 11:40 AM, Juri Lelli wrote:
On 13/11/24 11:06, Waiman Long wrote:

...

This part can still cause a failure in one of test cases in my cpuset
partition test script. In this particular case, the CPU to be offlined is an
isolated CPU with scheduling disabled. As a result, total_bw is 0 and the
__dl_overflow() test failed. Is there a way to skip the __dl_overflow() test
for isolated CPUs? Can we use a null total_bw as a proxy for that?
Can you please share the repro script? Would like to check locally what
is going on.

Just run tools/testing/selftests/cgroup/test_cpuset_prs.sh.

Cheers,
Longman