summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2023-10-14 23:12:20 +0200
committerPeter Zijlstra <peterz@infradead.org>2024-08-17 11:06:40 +0200
commitf25b7b32b0db6d71b07b06fe8de45b0408541c2a (patch)
treed382bfeb387f90826b678cba03aecf9e8a46e152
parentae04f69de0bef93c7086cf2983dbc8e8fd624ebe (diff)
downloadlwn-f25b7b32b0db6d71b07b06fe8de45b0408541c2a.tar.gz
lwn-f25b7b32b0db6d71b07b06fe8de45b0408541c2a.zip
sched/eevdf: Add feature comments
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
-rw-r--r--kernel/sched/features.h7
1 files changed, 7 insertions, 0 deletions
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)
/*