linux-kernelorg-stable/kernel/sched
Vincent Guittot 17e3e88ed0 sched/fair: Fix pelt lost idle time detection
The check for some lost idle pelt time should be always done when
pick_next_task_fair() fails to pick a task and not only when we call it
from the fair fast-path.

The case happens when the last running task on rq is a RT or DL task. When
the latter goes to sleep and the /Sum of util_sum of the rq is at the max
value, we don't account the lost of idle time whereas we should.

Fixes: 67692435c4 ("sched: Rework pick_next_task() slow-path")
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
2025-10-14 13:43:08 +02:00
..
Makefile
autogroup.c
autogroup.h
build_policy.c sched_ext: Move internal type and accessor definitions to ext_internal.h 2025-09-03 11:33:28 -10:00
build_utility.c
clock.c
completion.c
core.c sched/deadline: Stop dl_server before CPU goes offline 2025-10-14 13:43:08 +02:00
core_sched.c
cpuacct.c
cpudeadline.c
cpudeadline.h
cpufreq.c
cpufreq_schedutil.c
cpupri.c
cpupri.h
cputime.c
deadline.c sched/deadline: Stop dl_server before CPU goes offline 2025-10-14 13:43:08 +02:00
debug.c
ext.c Revert "sched_ext: Use rhashtable_lookup() instead of rhashtable_lookup_fast()" 2025-09-23 20:38:23 -10:00
ext.h sched_ext: Use cgroup_lock/unlock() to synchronize against cgroup operations 2025-09-03 11:36:07 -10:00
ext_idle.c sched_ext: Merge branch 'for-6.17-fixes' into for-6.18 2025-09-23 09:10:20 -10:00
ext_idle.h
ext_internal.h sched_ext: Add SCX_EFLAG_INITIALIZED to indicate successful ops.init() 2025-09-23 09:03:26 -10:00
fair.c sched/fair: Fix pelt lost idle time detection 2025-10-14 13:43:08 +02:00
features.h
idle.c
isolation.c
loadavg.c
membarrier.c
pelt.c
pelt.h sched/fair: Switch to task based throttle model 2025-09-03 10:03:14 +02:00
psi.c
rq-offsets.c sched: Make migrate_{en,dis}able() inline 2025-09-25 09:57:16 +02:00
rt.c
sched-pelt.h
sched.h Scheduler updates for v6.18: 2025-09-30 10:35:11 -07:00
smp.h
stats.c
stats.h
stop_task.c
swait.c
syscalls.c
topology.c Scheduler updates for v6.18: 2025-09-30 10:35:11 -07:00
wait.c
wait_bit.c