sched: call update_curr() in task_tick_fair()
authorTing Yang <tingy@cs.umass.edu>
Tue, 28 Aug 2007 10:53:24 +0000 (12:53 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 28 Aug 2007 10:53:24 +0000 (12:53 +0200)
commit7109c4429af3640f79a638f177fc5d05b9807149
tree8ea42387ba3fe5d9bc966e3b488699f4f8af322f
parentf6cf891c4d7128f9f91243fc0b9ce99e10fa1586
sched: call update_curr() in task_tick_fair()

update the fair-clock before using it for the key value.

[ mingo@elte.hu: small cleanups. ]

Signed-off-by: Ting Yang <tingy@cs.umass.edu>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
kernel/sched_fair.c