]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
sched/eevdf: Add feature comments
authorPeter Zijlstra <peterz@infradead.org>
Sat, 14 Oct 2023 21:12:20 +0000 (23:12 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Sat, 17 Aug 2024 09:06:40 +0000 (11:06 +0200)
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Tested-by: Valentin Schneider <vschneid@redhat.com>
Link: https://lkml.kernel.org/r/20240727105028.287790895@infradead.org
kernel/sched/features.h

index 929021fd6bc43a9cf7007dd8e69a666ddfcc643c..97fb2d49208982ca20a018f4dec1d0936f5f954a 100644 (file)
@@ -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)
 
 /*