aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2017-02-21 14:40:35 +0100
committerIngo Molnar <[email protected]>2017-03-16 09:46:24 +0100
commitbce4dc80c66ad355c74e876c82ce371020754627 (patch)
tree94a1afef37ef4e07aa903198bbed8f79a59d10df /lib
parent77558e4d01ac0c7fa8cb1af4a61c2ab508d79f30 (diff)
sched/core: Simplify update_rq_clock() in __schedule()
Instead of relying on deactivate_task() to call update_rq_clock() and handling the case where it didn't happen (task_on_rq_queued), unconditionally do update_rq_clock() and skip any further updates. This also avoids a double update on deactivate_task() + ttwu_local(). Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions