commit | cd80917e4ff465ea77106f8e4fb631eedc4cf426 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Fri Jun 27 13:41:34 2008 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Jun 27 14:31:44 2008 +0200 |
tree | 0b12aed9293c8b0683e7f74d5d111f5d436fa017 | |
parent | 93b75217df39e6d75889cc6f8050343286aff4a5 [diff] |
sched: fix shares boost logic In case the domain is empty, pretend there is a single task on each cpu, so that together with the boost logic we end up giving 1/n shares to each cpu. Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> Cc: Mike Galbraith <efault@gmx.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>