diff options
author | Frederic Weisbecker <[email protected]> | 2013-04-12 01:51:00 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-05-28 09:40:24 +0200 |
commit | 1ad4ec0dc740c4183acd6d6e367ca52b28e4fa94 (patch) | |
tree | 9e50109ed63cdf56ed954a845e257cfefe3149c2 /include/linux/fpga/fpga-mgr.h | |
parent | 71b1da46ff70309a2ec12ce943aa0d192d2c8f0c (diff) |
sched: Update rq clock before calling check_preempt_curr()
check_preempt_curr() of fair class needs an uptodate sched clock
value to update runtime stats of the current task of the target's rq.
When a task is woken up, activate_task() is usually called right before
ttwu_do_wakeup() unless the task is still in the runqueue. In the latter
case we need to update the rq clock explicitly because activate_task()
isn't here to do the job for us.
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Li Zhong <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Paul Turner <[email protected]>
Cc: Mike Galbraith <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions