]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[CELL] spufs: integration of SPE affinity with the scheduller
authorArnd Bergmann <arnd@arndb.de>
Fri, 20 Jul 2007 19:39:49 +0000 (21:39 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Fri, 20 Jul 2007 19:42:18 +0000 (21:42 +0200)
commitcbc23d3e7cb3c9fd3c9fce0bc3f44f687a9517c0
tree4adcbbfa5402e46c816788cd86f992082d2a6f61
parentc5fc8d2a92461fcabd00dfd678204cba36b93119
[CELL] spufs: integration of SPE affinity with the scheduller

This patch makes the scheduller honor affinity information for each
context being scheduled. If the context has no affinity information,
behaviour is unchanged. If there are affinity information, context is
schedulled to be run on the exact spu recommended by the affinity
placement algorithm.

Signed-off-by: Andre Detsch <adetsch@br.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spu_base.c
arch/powerpc/platforms/cell/spufs/sched.c