lkml.org 
[lkml]   [2011]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] sched: Fix comment for requeue_rt_entity
Date
Signed-off-by: Richard Weinberger <richard@nod.at>
---
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


\
 
 \ /
  Last update: 2011-11-12 18:11    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site