projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cff8ad
)
sched/dl: Do update_rq_clock() in yield_task_dl()
author
Kirill Tkhai
<ktkhai@parallels.com>
Wed, 4 Feb 2015 09:09:32 +0000
(12:09 +0300)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 18 Feb 2015 15:17:12 +0000
(16:17 +0100)
update_curr_dl() needs actual rq clock.
Signed-off-by: Kirill Tkhai <ktkhai@parallels.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link:
http://lkml.kernel.org/r/1423040972.18770.10.camel@tkhai
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/deadline.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched/deadline.c
b/kernel/sched/deadline.c
index 9908c950d77614485240150b61bf061e2810af4a..3fa8fa6d940300c1fbae721503aad2666f72b4e5 100644
(file)
--- a/
kernel/sched/deadline.c
+++ b/
kernel/sched/deadline.c
@@
-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);
}