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

From: Waiman Long
Date: Wed Nov 13 2024 - 11:50:27 EST



On 11/13/24 11:42 AM, Waiman Long wrote:

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.

The failing test is

        # Remote partition offline tests
        " C0-3:S+ C1-3:S+ C2-3     .    X2-3   X2-3 X2-3:P2:O2=0 .   0 A1:0-1,A2:1,A3:3 A1:P0,A3:P2 2-3"

You can remove all the previous lines in the TEST_MATRIX to get to failed test case immediately eliminating unnecessary noise in your testing.

Cheers,
Longman