All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sched/rt: Fix comment of task_tick_rt()
@ 2013-10-21 12:15 Libin
  2013-10-26 13:51 ` [tip:sched/core] sched/rt: Fix task_tick_rt() comment tip-bot for Li Bin
  0 siblings, 1 reply; 2+ messages in thread
From: Libin @ 2013-10-21 12:15 UTC (permalink / raw)
  To: mingo, peterz; +Cc: linux-kernel, guohanjun, xiexiuqi, huawei.libin

From: Li Bin <huawei.libin@huawei.com>

This issue was introduced by 454c7999(sched/rt: Fix SCHED_RR across
cgroups) that missing the word 'not'. Fix it.

Signed-off-by: Li Bin <huawei.libin@huawei.com>
---
 kernel/sched/rt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index 01970c8..fa4cf84 100644
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -1931,8 +1931,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) {
-- 
1.8.2.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-26 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-21 12:15 [PATCH] sched/rt: Fix comment of task_tick_rt() Libin
2013-10-26 13:51 ` [tip:sched/core] sched/rt: Fix task_tick_rt() comment tip-bot for Li Bin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.