summaryrefslogtreecommitdiffstats
path: root/kernel/sched/deadline.c
diff options
context:
space:
mode:
authorAndrea Parri <parri.andrea@gmail.com>2015-08-05 15:56:18 +0200
committerIngo Molnar <mingo@kernel.org>2015-08-12 12:06:10 +0200
commit4ffa08ed4cc4c5d47d197d749aae6f79af91eb73 (patch)
treefd755e5465c3c4dc5d02450ade2482b9eb84915f /kernel/sched/deadline.c
parent6c37067e27867db172b988cc11b9ff921175dee5 (diff)
downloadblackbird-op-linux-4ffa08ed4cc4c5d47d197d749aae6f79af91eb73.tar.gz
blackbird-op-linux-4ffa08ed4cc4c5d47d197d749aae6f79af91eb73.zip
sched/deadline: Fix comment in push_dl_tasks()
The comment is "misleading"; fix it by adapting a comment from push_rt_tasks(). Signed-off-by: Andrea Parri <parri.andrea@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1438782979-9057-1-git-send-email-parri.andrea@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/deadline.c')
-rw-r--r--kernel/sched/deadline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index b4730565a45d..82c0dd05d5d8 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))
;
}
OpenPOWER on IntegriCloud