Commit ac31ba74 authored by Juri Lelli's avatar Juri Lelli Committed by Greg Kroah-Hartman
Browse files

sched/deadline: Fix accounting after global limits change



[ Upstream commit 440989c1 ]

A global limits change (sched_rt_handler() logic) currently leaves stale
and/or incorrect values in variables related to accounting (e.g.
extra_bw).

Properly clean up per runqueue variables before implementing the change
and rebuild scheduling domains (so that accounting is also properly
restored) after such a change is complete.

Reported-by: default avatarMarcel Ziswiler <marcel.ziswiler@codethink.co.uk>
Signed-off-by: default avatarJuri Lelli <juri.lelli@redhat.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Marcel Ziswiler <marcel.ziswiler@codethink.co.uk> # nuc & rock5b
Link: https://lore.kernel.org/r/20250627115118.438797-4-juri.lelli@redhat.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 037d8560
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment