mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-04 01:28:37 +07:00
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
@ -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
|
* 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
|
* smaller than our one... OTW we keep our runtime and
|
||||||
* deadline.
|
* deadline.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user