[PATCH] sched: Fix comment for requeue_rt_entity

From: Richard Weinberger
Date: Sat Nov 12 2011 - 12:08:18 EST


Signed-off-by: Richard Weinberger <richard@xxxxxx>
---
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 056cbd2..909ba03 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -954,8 +954,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)
--
1.7.7

--
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/