]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
sched/fair: fix the comment for PREEMPT_SHORT
authorHuang Shijie <shijie@os.amperecomputing.com>
Tue, 1 Oct 2024 07:04:56 +0000 (15:04 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 7 Oct 2024 07:28:41 +0000 (09:28 +0200)
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

index 7c22b33fb9d3003ca33c2df8a823ad725c6a17e1..a3d331dd2d8ff4de61acab0956be050f2a72038e 100644 (file)
@@ -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)