diff options
author | Li Bin <huawei.libin@huawei.com> | 2013-10-21 08:15:43 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-10-26 06:25:21 -0400 |
commit | e9aa39bb7c4415ca26484239cc3a6686d549bf4f (patch) | |
tree | 04185e0cfa4b097f95ce532506b1895a13281e0f | |
parent | 92ec11809565cf6429c75204e99e0f583b5c9d7c (diff) |
sched/rt: Fix task_tick_rt() comment
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>
-rw-r--r-- | kernel/sched/rt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c index a848f526b941..7d57275fc396 100644 --- a/kernel/sched/rt.c +++ b/kernel/sched/rt.c | |||
@@ -1935,8 +1935,8 @@ static void task_tick_rt(struct rq *rq, struct task_struct *p, int queued) | |||
1935 | p->rt.time_slice = sched_rr_timeslice; | 1935 | p->rt.time_slice = sched_rr_timeslice; |
1936 | 1936 | ||
1937 | /* | 1937 | /* |
1938 | * Requeue to the end of queue if we (and all of our ancestors) are the | 1938 | * Requeue to the end of queue if we (and all of our ancestors) are not |
1939 | * only element on the queue | 1939 | * the only element on the queue |
1940 | */ | 1940 | */ |
1941 | for_each_sched_rt_entity(rt_se) { | 1941 | for_each_sched_rt_entity(rt_se) { |
1942 | if (rt_se->run_list.prev != rt_se->run_list.next) { | 1942 | if (rt_se->run_list.prev != rt_se->run_list.next) { |