Commit 24822b1
committed
sched/fair: Fix pelt lost idle time detection
JIRA: https://issues.redhat.com/browse/RHEL-128251
commit 17e3e88
Author: Vincent Guittot <vincent.guittot@linaro.org>
Date: Wed Oct 8 15:12:14 2025 +0200
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: 6769243 ("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: Phil Auld <pauld@redhat.com>1 parent 3d817ed commit 24822b1
1 file changed
+13
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8489 | 8489 | | |
8490 | 8490 | | |
8491 | 8491 | | |
8492 | | - | |
8493 | | - | |
8494 | | - | |
8495 | | - | |
| 8492 | + | |
| 8493 | + | |
8496 | 8494 | | |
8497 | | - | |
8498 | | - | |
8499 | | - | |
8500 | | - | |
8501 | | - | |
8502 | | - | |
8503 | | - | |
| 8495 | + | |
| 8496 | + | |
| 8497 | + | |
| 8498 | + | |
| 8499 | + | |
| 8500 | + | |
| 8501 | + | |
| 8502 | + | |
8504 | 8503 | | |
8505 | | - | |
8506 | | - | |
| 8504 | + | |
| 8505 | + | |
| 8506 | + | |
8507 | 8507 | | |
8508 | 8508 | | |
8509 | 8509 | | |
| |||
0 commit comments