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

tip-bot2 for Huang Shijie posted 1 patch 1 month, 2 weeks ago
kernel/sched/features.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[tip: sched/core] sched/fair: fix the comment for PREEMPT_SHORT
Posted by tip-bot2 for Huang Shijie 1 month, 2 weeks ago
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@os.amperecomputing.com>
AuthorDate:    Tue, 01 Oct 2024 15:04:56 +08:00
Committer:     Peter Zijlstra <peterz@infradead.org>
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@os.amperecomputing.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Christoph Lameter (Ampere) <cl@linux.com>
Link: https://lkml.kernel.org/r/20241001070456.10939-1-shijie@os.amperecomputing.com
---
 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)