]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] spufs: don't yield CPU in spu_yield
authorChristoph Hellwig <hch@lst.de>
Fri, 23 Mar 2007 14:12:26 +0000 (15:12 +0100)
committerPaul Mackerras <paulus@samba.org>
Thu, 12 Apr 2007 17:55:15 +0000 (03:55 +1000)
commitdbf8eefa2b814d6922492120bfa46d4bc42ceb20
treebb70c85fdcbce38001e9a5d9f1bb556e1eb4379f
parent28066ae91b2050d79531a6f2d5e35dd8f666bafd
[POWERPC] spufs: don't yield CPU in spu_yield

There is no reason to yield the CPU in spu_yield - if the backing
thread reenters spu_run it gets added to the end of the runqueue for
it's priority.  So the yield is just a slowdown for the case where
we have higher priority contexts waiting.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/sched.c