[tip: sched/core] sched/fair: fix the comment for PREEMPT_SHORT

From: tip-bot2 for Huang Shijie
Date: Tue Oct 08 2024 - 04:32:05 EST


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

Commit-ID: b15148ce21c11373ade7389202c12cabf4eba6cf
Gitweb: https://git.kernel.org/tip/b15148ce21c11373ade7389202c12cabf4eba6cf
Author: Huang Shijie <shijie@xxxxxxxxxxxxxxxxxxxxxx>
AuthorDate: Tue, 01 Oct 2024 15:04:56 +08:00
Committer: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
CommitterDate: Mon, 07 Oct 2024 09:28:41 +02:00

sched/fair: fix the comment for PREEMPT_SHORT

We do not have RESPECT_SLICE, we only have RUN_TO_PARITY.
Change RESPECT_SLICE to RUN_TO_PARITY, makes it more clear.

Signed-off-by: Huang Shijie <shijie@xxxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Reviewed-by: Christoph Lameter (Ampere) <cl@xxxxxxxxx>
Link: https://lkml.kernel.org/r/20241001070456.10939-1-shijie@xxxxxxxxxxxxxxxxxxxxxx
---
kernel/sched/features.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/features.h b/kernel/sched/features.h
index 7c22b33..a3d331d 100644
--- a/kernel/sched/features.h
+++ b/kernel/sched/features.h
@@ -19,7 +19,7 @@ SCHED_FEAT(PLACE_REL_DEADLINE, true)
*/
SCHED_FEAT(RUN_TO_PARITY, true)
/*
- * Allow wakeup of tasks with a shorter slice to cancel RESPECT_SLICE for
+ * Allow wakeup of tasks with a shorter slice to cancel RUN_TO_PARITY for
* current.
*/
SCHED_FEAT(PREEMPT_SHORT, true)