2024-04-05 11:04:29

by Peter Zijlstra

[permalink] [raw]
Subject: [RFC][PATCH 01/10] sched/eevdf: Add feature comments


Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
---
kernel/sched/features.h | 7 +++++++
1 file changed, 7 insertions(+)

--- 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)

/*