[tip:sched/core] sched: Fix comment for requeue_rt_entity

From: tip-bot for Richard Weinberger
Date: Fri Nov 18 2011 - 18:44:54 EST


Commit-ID: 60686317da05049385eae86e44c710cde535f95f
Gitweb: http://git.kernel.org/tip/60686317da05049385eae86e44c710cde535f95f
Author: Richard Weinberger <richard@xxxxxx>
AuthorDate: Sat, 12 Nov 2011 18:07:57 +0100
Committer: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Wed, 16 Nov 2011 08:48:27 +0100

sched: Fix comment for requeue_rt_entity

Signed-off-by: Richard Weinberger <richard@xxxxxx>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Link: http://lkml.kernel.org/r/1321117677-3282-1-git-send-email-richard@xxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
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 583a136..d95e861 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -957,8 +957,8 @@ static void dequeue_task_rt(struct rq *rq, struct task_struct *p, int flags)
}

/*
- * Put task to the end of the run list without the overhead of dequeue
- * followed by enqueue.
+ * Put task to the head or the end of the run list without the overhead of
+ * dequeue followed by enqueue.
*/
static void
requeue_rt_entity(struct rt_rq *rt_rq, struct sched_rt_entity *rt_se, int head)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/