]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spufs: block fault handlers in spu_acquire_runnable
authorArnd Bergmann <arnd.bergmann@de.ibm.com>
Thu, 20 Dec 2007 07:39:59 +0000 (16:39 +0900)
committerPaul Mackerras <paulus@samba.org>
Fri, 21 Dec 2007 08:46:19 +0000 (19:46 +1100)
commit10c8dc62cf5cf7a3b629505c6f19955ecfb70e29
tree97b9ceaa32dfe08a39049fa27eda4220cc5b8cb7
parent652c4846f37c8179a27a0144aecf0e6e6d814dff
[POWERPC] spufs: block fault handlers in spu_acquire_runnable

This change disables the logic that faults-in spu contexts under the
covers from the page fault handler.  When a fault requires a runnable
context, the handler will block until the context is scheduled by
other means.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/context.c
arch/powerpc/platforms/cell/spufs/file.c
arch/powerpc/platforms/cell/spufs/sched.c
arch/powerpc/platforms/cell/spufs/spufs.h