sched/deadline: Fix comment in enqueue_task_dl()
authorAndrea Parri <parri.andrea@gmail.com>
Wed, 5 Aug 2015 13:56:19 +0000 (15:56 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 12 Aug 2015 10:06:10 +0000 (12:06 +0200)
The "dl_boosted" flag is set by comparing *absolute* deadlines
(c.f., rt_mutex_setprio()).

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-2-git-send-email-parri.andrea@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/deadline.c

index 82c0dd05d5d83efb12980579a7682974b2f32814..fc8f01083527a570af73a8f8b4c6e586e7e332f9 100644 (file)
@@ -953,7 +953,7 @@ static void enqueue_task_dl(struct rq *rq, struct task_struct *p, int flags)
 
        /*
         * Use the scheduling parameters of the top pi-waiter
-        * task if we have one and its (relative) deadline is
+        * task if we have one and its (absolute) deadline is
         * smaller than our one... OTW we keep our runtime and
         * deadline.
         */