diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2025-07-08 18:56:26 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-07-09 13:40:22 +0200 |
commit | 74eec63661d46a7153d04c2e0249eeb76cc76d44 (patch) | |
tree | 5b4fa7844537b4ab10e0a817d04c230f343c76f0 /rust/helpers/workqueue.c | |
parent | 9cdb4fe20cd239c848b5c3f5753d83a9443ba329 (diff) |
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.
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
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions