[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>
Showing
- arch/powerpc/platforms/cell/spufs/gang.c 3 additions, 1 deletionarch/powerpc/platforms/cell/spufs/gang.c
- arch/powerpc/platforms/cell/spufs/sched.c 142 additions, 0 deletionsarch/powerpc/platforms/cell/spufs/sched.c
- arch/powerpc/platforms/cell/spufs/spufs.h 6 additions, 0 deletionsarch/powerpc/platforms/cell/spufs/spufs.h
Loading
Please register or sign in to comment