diff options
| author | 2025-10-08 15:12:14 +0200 | |
|---|---|---|
| committer | 2025-10-23 16:24:35 +0200 | |
| commit | 13aeb56dae45b1ed7773f49a2e376a7b5a2966cc (patch) | |
| tree | ff77e0e58619a121e2d8bc29bed18eb69dd33e4b /tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com | |
| parent | sched/deadline: Stop dl_server before CPU goes offline (diff) | |
sched/fair: Fix pelt lost idle time detection
[ Upstream commit 17e3e88ed0b6318fde0d1c14df1a804711cab1b5 ]
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: 67692435c411 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
