[PATCH 05/14] spufs: Improved SPU preemptability.

Milton Miller miltonm at bga.com
Thu Dec 8 04:23:43 EST 2005


>
> This patch makes it easier to preempt an SPU context by
> having the scheduler hold ctx->state_sema for much shorter
> periods of time.
>
> As part of this restructuring, the control logic for the "run"
> operation is moved from arch/ppc64/kernel/spu_base.c to
> fs/spufs/file.c.  Of course the base retains "bottom half"

file.c moved

> handlers for class{0,1} irqs.  The new run loop will re-acquire
> an SPU if preempted.
>
> From: Mark Nutter <mnutter at us.ibm.com>
> Signed-off-by: Arnd Bergmann <arndb at de.ibm.com>




More information about the Linuxppc64-dev mailing list