From: Christoph Hellwig Date: Thu, 8 May 2008 05:26:32 +0000 (+1000) Subject: [POWERPC] spufs: don't requeue victim contex in find_victim if it's not in spu_run X-Git-Tag: v2.6.26-rc2~16^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a28a1549f9514f3b0dd3dde5c7337ba5d44fba3;p=pandora-kernel.git [POWERPC] spufs: don't requeue victim contex in find_victim if it's not in spu_run We should not requeue the victim context in find_victim if the owner is not in spu_run. It's first not needed because leaving the context on the spu is an optimization and second is harmful because it means the owner could re-enter spu_run when the context is on the runqueue and trip the BUG_ON in __spu_update_sched_info. Signed-off-by: Christoph Hellwig Signed-off-by: Jeremy Kerr --- Reading git-diff-tree failed