From: Peter Zijlstra Date: Wed, 5 Sep 2007 12:32:49 +0000 (+0200) Subject: sched: fix ideal_runtime calculations for reniced tasks X-Git-Tag: v2.6.23-rc6~15^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1169783085adb9ac969d21103a6885e8435f7ed3;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed