sched/deadline: Fix comment in enqueue_task_dl()
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>
This commit is contained in:
parent
4ffa08ed4c
commit
ff277d4250
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue