linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] sched/deadline: fix comment in push_dl_tasks
@ 2015-08-05 13:56 Andrea Parri
  2015-08-05 13:56 ` [PATCH 2/2] sched/deadline: fix comment in enqueue_task_dl Andrea Parri
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andrea Parri @ 2015-08-05 13:56 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra; +Cc: linux-kernel, Andrea Parri

The comment is "misleading"; fix it by adapting a comment from
push_rt_tasks.

Signed-off-by: Andrea Parri <parri.andrea@gmail.com>
---
 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


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

end of thread, other threads:[~2015-08-12 12:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-05 13:56 [PATCH 1/2] sched/deadline: fix comment in push_dl_tasks Andrea Parri
2015-08-05 13:56 ` [PATCH 2/2] sched/deadline: fix comment in enqueue_task_dl Andrea Parri
2015-08-11 10:40   ` Juri Lelli
2015-08-12 12:39   ` [tip:sched/core] sched/deadline: Fix comment in enqueue_task_dl() tip-bot for Andrea Parri
2015-08-11  9:55 ` [PATCH 1/2] sched/deadline: fix comment in push_dl_tasks Juri Lelli
2015-08-12 12:39 ` [tip:sched/core] sched/deadline: Fix comment in push_dl_tasks() tip-bot for Andrea Parri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).