linux-yocto/kernel/sched
Juri Lelli ac31ba7430 sched/deadline: Fix accounting after global limits change
[ Upstream commit 440989c10f ]

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: Sasha Levin <sashal@kernel.org>
2025-08-28 16:24:20 +02:00
..
autogroup.c
autogroup.h
clock.c
completion.c
core_sched.c
core.c sched: Add wrapper for get_wchan() to keep task blocked 2025-08-28 16:24:03 +02:00
cpuacct.c
cpudeadline.c
cpudeadline.h
cpufreq_schedutil.c cpufreq/sched: Fix the usage of CPUFREQ_NEED_UPDATE_LIMITS 2025-05-02 07:44:11 +02:00
cpufreq.c
cpupri.c
cpupri.h
cputime.c sched/cputime: Fix mul_u64_u64_div_u64() precision for cputime 2024-08-19 05:45:39 +02:00
deadline.c sched/deadline: Fix accounting after global limits change 2025-08-28 16:24:20 +02:00
debug.c
fair.c sched/fair: Fix potential memory corruption in child_cfs_rq_on_list 2025-03-13 12:51:07 +01:00
features.h
idle.c
isolation.c
loadavg.c sched: Change nr_uninterruptible type to unsigned long 2025-08-28 16:24:02 +02:00
Makefile
membarrier.c
pelt.c
pelt.h
psi.c
rt.c sched/deadline: Fix accounting after global limits change 2025-08-28 16:24:20 +02:00
sched-pelt.h
sched.h sched: Change nr_uninterruptible type to unsigned long 2025-08-28 16:24:02 +02:00
smp.h
stats.c
stats.h sched/psi: Use task->psi_flags to clear in CPU migration 2025-03-13 12:49:52 +01:00
stop_task.c
swait.c
topology.c sched/fair: Allow disabling sched_balance_newidle with sched_relax_domain_level 2024-06-16 13:39:34 +02:00
wait_bit.c
wait.c