From: Ingo Molnar Date: Fri, 24 Aug 2007 18:39:10 +0000 (+0200) Subject: sched: tidy up and simplify the bonus balance X-Git-Tag: v2.6.23-rc4~17^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2133c8b1e270b4a7c36f70e29be8738d09e850b;p=pandora-kernel.git sched: tidy up and simplify the bonus balance make the bonus balance more consistent: do not hand out a bonus if there's too much in flight already, and only deduct as much from a runner as it has the capacity. This makes the bonus engine a zero-sum game (as intended). this also simplifies the code: text data bss dec hex filename 34770 2998 24 37792 93a0 sched.o.before 34749 2998 24 37771 938b sched.o.after and it also avoids overscheduling in sleep-happy workloads like hackbench.c. Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed