diff options
| author | 2025-06-27 13:51:16 +0200 | |
|---|---|---|
| committer | 2025-07-14 10:59:33 +0200 | |
| commit | 440989c10f4e32620e9e2717ca52c3ed7ae11048 (patch) | |
| tree | 6556a1dcf4654e85df016238369c284a28da95a1 /tools/perf/scripts/python/task-analyzer.py | |
| parent | sched/deadline: Reset extra_bw to max_bw when clearing root domains (diff) | |
| download | wireguard-linux-440989c10f4e32620e9e2717ca52c3ed7ae11048.tar.xz wireguard-linux-440989c10f4e32620e9e2717ca52c3ed7ae11048.zip | |
sched/deadline: Fix accounting after global limits change
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: Marcel Ziswiler <marcel.ziswiler@codethink.co.uk>
Signed-off-by: Juri Lelli <juri.lelli@redhat.com>
Signed-off-by: Peter 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
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
