sched/rt: Fix task_tick_rt() comment
authorLi Bin <huawei.libin@huawei.com>
Mon, 21 Oct 2013 12:15:43 +0000 (20:15 +0800)
committerIngo Molnar <mingo@kernel.org>
Sat, 26 Oct 2013 10:25:21 +0000 (12:25 +0200)
This issue was introduced by 454c79999f7e ("sched/rt: Fix SCHED_RR
across cgroups") that missed the word 'not'. Fix it.

Signed-off-by: Li Bin <huawei.libin@huawei.com>
Cc: <guohanjun@huawei.com>
Cc: <xiexiuqi@huawei.com>
Cc: <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1382357743-54136-1-git-send-email-huawei.libin@huawei.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/rt.c

index a848f526b941a1cbda606bd954b927d7e7a8eb76..7d57275fc396d1c56475c707888f1f95fd84142b 100644 (file)
@@ -1935,8 +1935,8 @@ static void task_tick_rt(struct rq *rq, struct task_struct *p, int queued)
        p->rt.time_slice = sched_rr_timeslice;
 
        /*
-        * Requeue to the end of queue if we (and all of our ancestors) are the
-        * only element on the queue
+        * Requeue to the end of queue if we (and all of our ancestors) are not
+        * the only element on the queue
         */
        for_each_sched_rt_entity(rt_se) {
                if (rt_se->run_list.prev != rt_se->run_list.next) {
This page took 0.026767 seconds and 5 git commands to generate.