Skip to content

Commit e9aa39b

Browse files
libin2015Ingo Molnar
authored andcommitted
sched/rt: Fix task_tick_rt() comment
This issue was introduced by 454c799 ("sched/rt: Fix SCHED_RR across cgroups") that missed the word 'not'. Fix it. Signed-off-by: Li Bin <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent 92ec118 commit e9aa39b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/sched/rt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1935,8 +1935,8 @@ static void task_tick_rt(struct rq *rq, struct task_struct *p, int queued)
19351935
p->rt.time_slice = sched_rr_timeslice;
19361936

19371937
/*
1938-
* Requeue to the end of queue if we (and all of our ancestors) are the
1939-
* only element on the queue
1938+
* Requeue to the end of queue if we (and all of our ancestors) are not
1939+
* the only element on the queue
19401940
*/
19411941
for_each_sched_rt_entity(rt_se) {
19421942
if (rt_se->run_list.prev != rt_se->run_list.next) {

0 commit comments

Comments
 (0)