aboutsummaryrefslogtreecommitdiffstats
path: root/fs/aio.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2007-09-05 14:32:49 +0200
committerIngo Molnar <mingo@elte.hu>2007-09-05 14:32:49 +0200
commit1169783085adb9ac969d21103a6885e8435f7ed3 (patch)
tree8d5313ef18ba821436aa838cb6f03f065049ef21 /fs/aio.c
parent4a55b45036a677fac43fe81ddf7fdcd007aaaee7 (diff)
downloadkernel_samsung_crespo-1169783085adb9ac969d21103a6885e8435f7ed3.zip
kernel_samsung_crespo-1169783085adb9ac969d21103a6885e8435f7ed3.tar.gz
kernel_samsung_crespo-1169783085adb9ac969d21103a6885e8435f7ed3.tar.bz2
sched: fix ideal_runtime calculations for reniced tasks
fix ideal_runtime: - do not scale it using niced_granularity() it is against sum_exec_delta, so its wall-time, not fair-time. - move the whole check into __check_preempt_curr_fair() so that wakeup preemption can also benefit from the new logic. this also results in code size reduction: text data bss dec hex filename 13391 228 1204 14823 39e7 sched.o.before 13369 228 1204 14801 39d1 sched.o.after Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/aio.c')
0 files changed, 0 insertions, 0 deletions