[CELL] spufs: extension of spu_create to support affinity definition
This patch adds support for additional flags at spu_create, which relate to the establishment of affinity between contexts and contexts to memory. A fourth, optional, parameter is supported. This parameter represent a affinity neighbor of the context being created, and is used when defining SPU-SPU affinity. Affinity is represented as a doubly linked list of spu_contexts. Signed-off-by:Andre Detsch <adetsch@br.ibm.com> Signed-off-by:
Arnd Bergmann <arnd.bergmann@de.ibm.com>
Showing
- arch/powerpc/platforms/cell/spu_syscalls.c 15 additions, 2 deletionsarch/powerpc/platforms/cell/spu_syscalls.c
- arch/powerpc/platforms/cell/spufs/context.c 1 addition, 0 deletionsarch/powerpc/platforms/cell/spufs/context.c
- arch/powerpc/platforms/cell/spufs/gang.c 4 additions, 0 deletionsarch/powerpc/platforms/cell/spufs/gang.c
- arch/powerpc/platforms/cell/spufs/inode.c 126 additions, 6 deletionsarch/powerpc/platforms/cell/spufs/inode.c
- arch/powerpc/platforms/cell/spufs/spufs.h 14 additions, 2 deletionsarch/powerpc/platforms/cell/spufs/spufs.h
- arch/powerpc/platforms/cell/spufs/syscalls.c 28 additions, 4 deletionsarch/powerpc/platforms/cell/spufs/syscalls.c
- include/asm-powerpc/spu.h 6 additions, 2 deletionsinclude/asm-powerpc/spu.h
- include/linux/syscalls.h 1 addition, 1 deletioninclude/linux/syscalls.h
Please register or sign in to comment