]> Gentwo Git Trees - linux/.git/commit
sched/deadline: Ignore special tasks when rebuilding domains
authorJuri Lelli <juri.lelli@redhat.com>
Thu, 13 Mar 2025 17:00:04 +0000 (18:00 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 17 Mar 2025 10:23:41 +0000 (11:23 +0100)
commitf6147af176eaa4027b692fdbb1a0a60dfaa1e9b6
treef052b241571a858d1b2740e483a74469d64207d0
parent3bffa47a02636ed4134d558caecd35e92051e48d
sched/deadline: Ignore special tasks when rebuilding domains

SCHED_DEADLINE special tasks get a fake bandwidth that is only used to
make sure sleeping and priority inheritance 'work', but it is ignored
for runtime enforcement and admission control.

Be consistent with it also when rebuilding root domains.

Fixes: 53916d5fd3c0 ("sched/deadline: Check bandwidth overflow earlier for hotplug")
Reported-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Juri Lelli <juri.lelli@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Tested-by: Waiman Long <longman@redhat.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Link: https://lore.kernel.org/r/20250313170011.357208-2-juri.lelli@redhat.com
kernel/sched/deadline.c