Skip to content

Commit b15148c

Browse files
HuangShijie2024Peter Zijlstra
authored andcommitted
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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Christoph Lameter (Ampere) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 4423af8 commit b15148c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/sched/features.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ SCHED_FEAT(PLACE_REL_DEADLINE, true)
1919
*/
2020
SCHED_FEAT(RUN_TO_PARITY, true)
2121
/*
22-
* Allow wakeup of tasks with a shorter slice to cancel RESPECT_SLICE for
22+
* Allow wakeup of tasks with a shorter slice to cancel RUN_TO_PARITY for
2323
* current.
2424
*/
2525
SCHED_FEAT(PREEMPT_SHORT, true)

0 commit comments

Comments
 (0)