[POWERPC] spu sched: forced preemption at execution
If we start a spu context with realtime priority we want it to run immediately and not wait until some other lower priority thread has finished. Try to find a suitable victim and use it's spu in this case. Signed-off-by:Christoph Hellwig <hch@lst.de> Signed-off-by:
Arnd Bergmann <arnd.bergmann@de.ibm.com>
Showing
- arch/powerpc/platforms/cell/spufs/context.c 1 addition, 0 deletionsarch/powerpc/platforms/cell/spufs/context.c
- arch/powerpc/platforms/cell/spufs/sched.c 74 additions, 0 deletionsarch/powerpc/platforms/cell/spufs/sched.c
- arch/powerpc/platforms/cell/spufs/spufs.h 1 addition, 0 deletionsarch/powerpc/platforms/cell/spufs/spufs.h
Please register or sign in to comment