]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] spufs: Fix memory leak on SPU affinity
authorAndre Detsch <adetsch@br.ibm.com>
Fri, 11 Jan 2008 04:03:26 +0000 (15:03 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 6 Feb 2008 05:26:59 +0000 (16:26 +1100)
commit58119068cb27ef7513f80aff44b62a3a8f40ef5f
tree2ec652c66c008f99aeffc9a271d4398df9de90ce
parent60cf54db47727935af1c439f59c636a96a8cbd4b
[POWERPC] spufs: Fix memory leak on SPU affinity

Reference count for the "neighbor" spu context was not
being correctly decremented after usage.
So, contexts used as reference during SPU affinity setup
were not being deallocated, leading to a memory leak.

Signed-off-by: Andre Detsch <adetsch@br.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/inode.c