]> git.baikalelectronics.ru Git - kernel.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)
commitef997ca80c6a24ad1e2bb2367a78f22ecded5bf1
treebb70c85fdcbce38001e9a5d9f1bb556e1eb4379f
parentcb2f0d1035a1d743b3a7282351cec73851281be9
[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