Commit 14a8570
Peter Zijlstra
sched/deadline: Use revised wakeup rule for dl_server
John noted that commit 1151354 ("sched/deadline: Fix 'stuck' dl_server")
unfixed the issue from commit a3a70ca ("sched/deadline: Fix dl_server
behaviour").
The issue in commit 1151354 was for wakeups of the server after the
deadline; in which case you *have* to start a new period. The case for
a3a70ca is wakeups before the deadline.
Now, because the server is effectively running a least-laxity policy, it means
that any wakeup during the runnable phase means dl_entity_overflow() will be
true. This means we need to adjust the runtime to allow it to still run until
the existing deadline expires.
Use the revised wakeup rule for dl_defer entities.
Fixes: 1151354 ("sched/deadline: Fix 'stuck' dl_server")
Reported-by: John Stultz <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Juri Lelli <[email protected]>
Tested-by: John Stultz <[email protected]>
Link: https://patch.msgid.link/[email protected]1 parent 591cd65 commit 14a8570
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1027 | 1027 | | |
1028 | 1028 | | |
1029 | 1029 | | |
1030 | | - | |
| 1030 | + | |
1031 | 1031 | | |
1032 | 1032 | | |
1033 | 1033 | | |
| |||
0 commit comments