diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-08-24 20:39:10 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-08-24 20:39:10 +0200 |
commit | b2133c8b1e270b4a7c36f70e29be8738d09e850b (patch) | |
tree | 9075055664141cc1b91a0b3eac915e6241e38801 /kernel/kmod.c | |
parent | 98fbc798533339be802c6dcd48c2293c712e87db (diff) | |
download | linux-rt-b2133c8b1e270b4a7c36f70e29be8738d09e850b.tar.gz |
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 <mingo@elte.hu>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions