Commit 6f1607f1 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by Ingo Molnar

sched/dl: Do update_rq_clock() in yield_task_dl()

update_curr_dl() needs actual rq clock.
Signed-off-by: default avatarKirill Tkhai <ktkhai@parallels.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1423040972.18770.10.camel@tkhaiSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 9cff8ade
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment