dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/arch/powerpc/platforms/cell/spufs
Jeremy Kerr 877907d37d [POWERPC] spufs: Fix gang destroy leaks
Previously, closing a SPE gang that still has contexts would trigger
a WARN_ON, and leak the allocated gang.

This change fixes the problem by using the gang's reference counts to
destroy the gang instead. The gangs will persist until their last
reference (be it context or open file handle) is gone.

Also, avoid using statements with side-effects in a WARN_ON().

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-06-07 11:44:39 +10:00
..
Makefile [POWERPC] Spufs support for 64K LS mappings on 4K kernels 2007-05-09 16:35:00 +10:00
backing_ops.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
context.c [POWERPC] Spufs support for 64K LS mappings on 4K kernels 2007-05-09 16:35:00 +10:00
coredump.c [POWERPC] spufs: fix memory leak on coredump 2007-04-23 21:18:58 +02:00
fault.c [POWERPC] spufs: provide siginfo for SPE faults 2007-04-23 21:18:55 +02:00
file.c [POWERPC] spufs: Hook up spufs_release_mem 2007-06-07 11:44:39 +10: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 [POWERPC] spufs: Fix gang destroy leaks 2007-06-07 11:44:39 +10:00
lscsa_alloc.c [POWERPC] Spufs support for 64K LS mappings on 4K kernels 2007-05-09 16:35:00 +10:00
run.c [POWERPC] spufs: various run.c cleanups 2007-04-23 21:18:59 +02:00
sched.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
spu_restore.c [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11: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 [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11: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 [POWERPC] spufs: Minor cleanup of spu_wait 2007-04-23 21:18:58 +02:00
switch.c [POWERPC] Spufs support for 64K LS mappings on 4K kernels 2007-05-09 16:35:00 +10:00
syscalls.c [PATCH] struct path: convert powerpc 2006-12-08 08:28:48 -08:00