]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[CELL] cell: add placement computation for scheduling of affinity contexts
authorArnd Bergmann <arnd@arndb.de>
Fri, 20 Jul 2007 19:39:48 +0000 (21:39 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Fri, 20 Jul 2007 19:42:17 +0000 (21:42 +0200)
commitc5fc8d2a92461fcabd00dfd678204cba36b93119
tree06af7ac73221494e0eef00f4f390faf53b24facf
parent8e68e2f248332a9c3fd4f08258f488c209bd3e0c
[CELL] cell: add placement computation for scheduling of affinity contexts

This patch provides the spu affinity placement logic for the spufs scheduler.
Each time a gang is going to be scheduled, the placement of a reference
context is defined. The placement of all other contexts with affinity from
the gang is defined based on this reference context location and on a
precomputed displacement offset.

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