commit | 10baa26c8ccba6f100397c9ba6534be175762e8d | [log] [tgz] |
---|---|---|
author | Andre Detsch <adetsch@br.ibm.com> | Tue Oct 21 11:15:23 2008 +1100 |
committer | Jeremy Kerr <jk@ozlabs.org> | Tue Oct 21 11:15:23 2008 +1100 |
tree | a909c5246f40932848858c8ed72894fd58732fb1 | |
parent | 837ef884b702edd1c4514eaed1dbecd48721bd22 [diff] |
powerpc/spufs: Improve search of node for contexts with SPU affinity This patch improves redability of the code responsible for trying to find a node with enough SPUs not committed to other affinity gangs. An additional check is also added, to avoid taking into account gangs that have no SPU affinity. Signed-off-by: Andre Detsch <adetsch@br.ibm.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>