[tip: sched/core] sched/eevdf: Add feature comments

tip-bot2 for Peter Zijlstra
2024-08-18T06:23:15Z

The following commit has been merged into the sched/core branch of tip:

Commit-ID: f25b7b32b0db6d71b07b06fe8de45b0408541c2a
Gitweb: https://git.kernel.org/tip/f25b7b32b0db6d71b07b06fe8de45b0408541c2a
Author: Peter Zijlstra <peterz@infradead.org>
AuthorDate: Sat, 14 Oct 2023 23:12:20 +02:00
Committer: Peter Zijlstra <peterz@infradead.org>
CommitterDate: Sat, 17 Aug 2024 11:06:40 +02:00

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
---
kernel/sched/features.h | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/kernel/sched/features.h b/kernel/sched/features.h
index 929021f..97fb2d4 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)

/*