Searched hist:c0bace5c (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | run.c | c0bace5c Tue Apr 22 23:24:27 CDT 2008 Jeremy Kerr <jk@ozlabs.org> [POWERPC] spufs: update master runcntl with context lock held
Currently, we update the SPU master run control bit (ie, spu_enable_spu) in spufs_run_spu before we grab the context mutex. This can result in races with other processes accessing this context's resources.
This change moves the spu_enable_spu to after we have acquired the context lock.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org> c0bace5c Tue Apr 22 23:24:27 CDT 2008 Jeremy Kerr <jk@ozlabs.org> [POWERPC] spufs: update master runcntl with context lock held Currently, we update the SPU master run control bit (ie, spu_enable_spu) in spufs_run_spu before we grab the context mutex. This can result in races with other processes accessing this context's resources. This change moves the spu_enable_spu to after we have acquired the context lock. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
|