From: Arnd Bergmann Date: Tue, 6 Dec 2005 03:52:25 +0000 (-0500) Subject: [PATCH] spufs: Improved SPU preemptability. X-Git-Tag: v2.6.16-rc1~666^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5110459f181ef1f11200bb3dec61953f08cc49e7;p=pandora-kernel.git [PATCH] spufs: Improved SPU preemptability. 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" handlers for class{0,1} irqs. The new run loop will re-acquire an SPU if preempted. From: Mark Nutter Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed