[POWERPC] spufs: decouple spu scheduler from spufs_spu_run (asynchronous scheduling)
Change spufs_spu_run so that the context is queued directly to the scheduler and the controlling thread advances directly to spufs_wait() for spe errors and exceptions. nosched contexts are treated the same as before. Fixes from Christoph Hellwig <hch@lst.de> Signed-off-by:Luke Browning <lukebr@linux.vnet.ibm.com> Signed-off-by:
Jeremy Kerr <jk@ozlabs.org> Signed-off-by:
Paul Mackerras <paulus@samba.org>
Showing
- arch/powerpc/platforms/cell/spufs/context.c 0 additions, 31 deletionsarch/powerpc/platforms/cell/spufs/context.c
- arch/powerpc/platforms/cell/spufs/file.c 9 additions, 0 deletionsarch/powerpc/platforms/cell/spufs/file.c
- arch/powerpc/platforms/cell/spufs/run.c 36 additions, 54 deletionsarch/powerpc/platforms/cell/spufs/run.c
- arch/powerpc/platforms/cell/spufs/sched.c 153 additions, 82 deletionsarch/powerpc/platforms/cell/spufs/sched.c
- arch/powerpc/platforms/cell/spufs/spufs.h 2 additions, 1 deletionarch/powerpc/platforms/cell/spufs/spufs.h
Loading
Please register or sign in to comment