Commit 147d867
committed
sched/deadline: Fix accounting after global limits change
JIRA: https://issues.redhat.com/browse/RHEL-105980
commit 440989c
Author: Juri Lelli <juri.lelli@redhat.com>
Date: Fri Jun 27 13:51:16 2025 +0200
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
Signed-off-by: Phil Auld <pauld@redhat.com>1 parent e75be7a commit 147d867
2 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3282 | 3282 | | |
3283 | 3283 | | |
3284 | 3284 | | |
| 3285 | + | |
| 3286 | + | |
| 3287 | + | |
3285 | 3288 | | |
3286 | 3289 | | |
3287 | 3290 | | |
| |||
3297 | 3300 | | |
3298 | 3301 | | |
3299 | 3302 | | |
3300 | | - | |
3301 | 3303 | | |
3302 | 3304 | | |
3303 | 3305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2938 | 2938 | | |
2939 | 2939 | | |
2940 | 2940 | | |
| 2941 | + | |
| 2942 | + | |
| 2943 | + | |
| 2944 | + | |
| 2945 | + | |
| 2946 | + | |
2941 | 2947 | | |
2942 | 2948 | | |
2943 | 2949 | | |
| |||
0 commit comments