sched: fix normalized sleeper
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 5 May 2008 21:56:17 +0000 (23:56 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 May 2008 21:56:17 +0000 (23:56 +0200)
commita992241de614dd2b7c97a9ba64e28c0e563f19bf
treea76f646188c23aad856b43ffc841a0ec08613398
parent5717922a1b8cc477f45a0f4f11fe619392ba7133
sched: fix normalized sleeper

Normalized sleeper uses calc_delta*() which requires that the rq load is
already updated, so move account_entity_enqueue() before place_entity()

Tested-by: Frans Pop <elendil@planet.nl>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c