1
linux/arch/powerpc/platforms/cell
Christoph Hellwig 486acd4850 [CELL] spufs: rework list management and associated locking
This sorts out the various lists and related locks in the spu code.

In detail:

 - the per-node free_spus and active_list are gone.  Instead struct spu
   gained an alloc_state member telling whether the spu is free or not
 - the per-node spus array is now locked by a per-node mutex, which
   takes over from the global spu_lock and the per-node active_mutex
 - the spu_alloc* and spu_free function are gone as the state change is
   now done inline in the spufs code.  This allows some more sharing of
   code for the affinity vs normal case and more efficient locking
 - some little refactoring in the affinity code for this locking scheme

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
2007-07-20 21:42:28 +02:00
..
spufs [CELL] spufs: rework list management and associated locking 2007-07-20 21:42:28 +02:00
axon_msi.c [CELL] add support for MSI on Axon-based Cell systems 2007-07-20 21:41:45 +02:00
cbe_cpufreq_pervasive.c [CELL] cbe_cpufreq: reorganize code 2007-07-20 21:41:38 +02:00
cbe_cpufreq_pmi.c [CELL] cbe_cpufreq: reorganize code 2007-07-20 21:41:38 +02:00
cbe_cpufreq.c [CELL] fix cbe_cpufreq for legacy SLOF tree. 2007-07-20 21:41:39 +02:00
cbe_cpufreq.h [CELL] cbe_cpufreq: reorganize code 2007-07-20 21:41:38 +02:00
cbe_regs.c [CELL] allow linux to map Cell regs on legacy SLOF tree. 2007-07-20 21:41:41 +02:00
cbe_regs.h
cbe_thermal.c [CELL] fix cbe_thermal for legacy SLOF tree. 2007-07-20 21:41:40 +02:00
interrupt.c
interrupt.h
io-workarounds.c
iommu.c
Kconfig [CELL] cbe_cpufreq: reorganize code 2007-07-20 21:41:38 +02:00
Makefile [CELL] add support for MSI on Axon-based Cell systems 2007-07-20 21:41:45 +02:00
pervasive.c
pervasive.h
pmu.c
ras.c
ras.h
setup.c
smp.c
spider-pic.c
spu_base.c [CELL] spufs: rework list management and associated locking 2007-07-20 21:42:28 +02:00
spu_callbacks.c
spu_coredump.c
spu_manage.c Cell: Draw SPE helper penguin logos 2007-07-17 10:23:13 -07:00
spu_priv1_mmio.c
spu_priv1_mmio.h
spu_syscalls.c [CELL] spufs: extension of spu_create to support affinity definition 2007-07-20 21:42:15 +02:00