mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
sched/dl: Do update_rq_clock() in yield_task_dl()
update_curr_dl() needs actual rq clock. Signed-off-by: Kirill Tkhai <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Link: http://lkml.kernel.org/r/1423040972.18770.10.camel@tkhai Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
9cff8adeaa
commit
6f1607f1bd
1 changed files with 1 additions and 0 deletions
|
|
@ -912,6 +912,7 @@ static void yield_task_dl(struct rq *rq)
|
|||
rq->curr->dl.dl_yielded = 1;
|
||||
p->dl.runtime = 0;
|
||||
}
|
||||
update_rq_clock(rq);
|
||||
update_curr_dl(rq);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue