BACKPORT: sched/fair: Fix NO_RUN_TO_PARITY case
EEVDF expects the scheduler to allocate a time quantum to the selected entity and then pick a new entity for next quantum. Although this notion of time quantum is not strictly doable in our case, we can ensure a minimum runtime for each task most of the time and pick a new entity after a minimum time has elapsed. Reuse the slice protection of run to parity to ensure such runtime quantum. Bug: 438500731 Signed-off-by:Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20250708165630.1948751-3-vincent.guittot@linaro.org [Trivial conflict due to new code added upstream around did_preempt_short()] (cherry picked from commit 74eec636) Signed-off-by:
Qais Yousef <qyousef@google.com> Change-Id: I82fe0b35391e916bd325b05b1070355a79ee7e2a
Loading