From f25b7b32b0db6d71b07b06fe8de45b0408541c2a Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Sat, 14 Oct 2023 23:12:20 +0200 Subject: [PATCH] sched/eevdf: Add feature comments Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Valentin Schneider Tested-by: Valentin Schneider Link: https://lkml.kernel.org/r/20240727105028.287790895@infradead.org --- kernel/sched/features.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kernel/sched/features.h b/kernel/sched/features.h index 929021fd6bc4..97fb2d492089 100644 --- a/kernel/sched/features.h +++ b/kernel/sched/features.h @@ -5,7 +5,14 @@ * sleep+wake cycles. EEVDF placement strategy #1, #2 if disabled. */ SCHED_FEAT(PLACE_LAG, true) +/* + * Give new tasks half a slice to ease into the competition. + */ SCHED_FEAT(PLACE_DEADLINE_INITIAL, true) +/* + * Inhibit (wakeup) preemption until the current task has either matched the + * 0-lag point or until is has exhausted it's slice. + */ SCHED_FEAT(RUN_TO_PARITY, true) /* -- 2.50.1