linux/arch/powerpc/platforms/cell/spufs
Christoph Hellwig 27b1ea091f [CELL] spufs: make sure context are scheduled again after spu_acquire_saved
Currently a process is removed from the physical spu when spu_acquire_saved
is saved but never put back.  This patch adds a new spu_release_saved
that is to be paired with spu_acquire_saved and put the process back if
it has been in RUNNABLE state before.

Niether Jeremy not be are entirely happy about this exact patch because
it adds another spu_activate call outside of the owner thread, but I
feel this is the best short-term fix we can come up with.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
2007-07-20 21:41:52 +02:00
..
backing_ops.c [POWERPC] spufs: Save dma_tagstatus_R in CSA 2007-07-03 15:24:47 +10:00
context.c [CELL] spufs: make sure context are scheduled again after spu_acquire_saved 2007-07-20 21:41:52 +02:00
coredump.c [CELL] spufs: make sure context are scheduled again after spu_acquire_saved 2007-07-20 21:41:52 +02:00
fault.c [CELL] spufs: add spu stats in sysfs and ctx stat file in spufs 2007-07-20 21:41:50 +02:00
file.c [CELL] spufs: make sure context are scheduled again after spu_acquire_saved 2007-07-20 21:41:52 +02:00
gang.c [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
hw_ops.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
inode.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
lscsa_alloc.c [POWERPC] Spufs support for 64K LS mappings on 4K kernels 2007-05-09 16:35:00 +10:00
Makefile [POWERPC] Spufs support for 64K LS mappings on 4K kernels 2007-05-09 16:35:00 +10:00
run.c [CELL] spufs: add spu stats in sysfs and ctx stat file in spufs 2007-07-20 21:41:50 +02:00
sched.c [CELL] spufs: add spu stats in sysfs and ctx stat file in spufs 2007-07-20 21:41:50 +02:00
spu_restore.c [POWERPC] spufs: Trivial whitespace fixes 2007-07-03 15:24:45 +10:00
spu_restore_crt0.S [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_restore_dump.h_shipped [POWERPC] spufs: one more fix for 64k pages 2006-06-21 15:01:32 +10:00
spu_save.c [POWERPC] spufs: fix building spufs/spu_save_dump.h 2007-07-03 15:24:44 +10:00
spu_save_crt0.S [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_save_dump.h_shipped [POWERPC] spufs: one more fix for 64k pages 2006-06-21 15:01:32 +10:00
spu_utils.h [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spufs.h [CELL] spufs: make sure context are scheduled again after spu_acquire_saved 2007-07-20 21:41:52 +02:00
switch.c [CELL] spufs: Avoid unexpectedly restaring MFC during context save 2007-07-20 21:41:47 +02:00
syscalls.c [PATCH] struct path: convert powerpc 2006-12-08 08:28:48 -08:00