[PATCH 1/2] sched/deadline: fix comment in push_dl_tasks
From: Andrea Parri
Date: Wed Aug 05 2015 - 09:59:20 EST
The comment is "misleading"; fix it by adapting a comment from
push_rt_tasks.
Signed-off-by: Andrea Parri <parri.andrea@xxxxxxxxx>
---
kernel/sched/deadline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index 0a17af35..7c17001 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -1563,7 +1563,7 @@ out:
static void push_dl_tasks(struct rq *rq)
{
- /* Terminates as it moves a -deadline task */
+ /* push_dl_task will return true if it moved a -deadline task */
while (push_dl_task(rq))
;
}
--
1.9.1
--
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/