diff options
author | Arnd Bergmann <arnd.bergmann@de.ibm.com> | 2007-12-20 07:39:59 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-21 08:46:19 (GMT) |
commit | 33bfd7a73861c3727482c6c1c1c2ef40054060b7 (patch) | |
tree | 97b9ceaa32dfe08a39049fa27eda4220cc5b8cb7 /arch/powerpc/platforms/cell/spufs/sched.c | |
parent | 7cd58e43810852eeb7af5a0c803f3890bd08b581 (diff) | |
download | linux-fsl-qoriq-33bfd7a73861c3727482c6c1c1c2ef40054060b7.tar.xz |
[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>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/sched.c')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/sched.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/sched.c b/arch/powerpc/platforms/cell/spufs/sched.c index ee80de0..52215aa 100644 --- a/arch/powerpc/platforms/cell/spufs/sched.c +++ b/arch/powerpc/platforms/cell/spufs/sched.c @@ -682,6 +682,7 @@ int spu_activate(struct spu_context *ctx, unsigned long flags) spu_bind_context(spu, ctx); cbe_spu_info[node].nr_active++; mutex_unlock(&cbe_spu_info[node].list_mutex); + wake_up_all(&ctx->run_wq); return 0; } |