sched: improve prev_sum_exec_runtime setting
commit4a55b45036a677fac43fe81ddf7fdcd007aaaee7
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 5 Sep 2007 12:32:49 +0000 (5 14:32 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 5 Sep 2007 12:32:49 +0000 (5 14:32 +0200)
tree86558fa9997e28194d84b997011ed91cde49746c
parent7c92e54f6f9601cfa9d8894ee248abcf62ed9a1c
sched: improve prev_sum_exec_runtime setting

Second preparatory patch for fix-ideal runtime:

Mark prev_sum_exec_runtime at the beginning of our run, the same spot
that adds our wait period to wait_runtime. This seems a more natural
location to do this, and it also reduces the code a bit:

   text    data     bss     dec     hex filename
  13397     228    1204   14829    39ed sched.o.before
  13391     228    1204   14823    39e7 sched.o.after

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