sched: Fix/add missing update_rq_clock() calls
authorMike Galbraith <efault@gmx.de>
Thu, 12 Nov 2009 10:07:44 +0000 (11:07 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 12 Nov 2009 11:28:29 +0000 (12:28 +0100)
commit055a00865dcfc8e61f3cbefbb879c9577bd36ae5
tree73d406a3e05b5226c8a83f9ce3f6d0c67a063cb7
parentaa021baa3295fa6e3f367d80f8955dd5176656eb
sched: Fix/add missing update_rq_clock() calls

kthread_bind(), migrate_task() and sched_fork were missing
updates, and try_to_wake_up() was updating after having already
used the stale clock.

Aside from preventing potential latency hits, there' a side
benefit in that early boot printk time stamps become monotonic.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1258020464.6491.2.camel@marge.simson.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <new-submission>
kernel/sched.c