]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spu sched: ensure preempted threads are put back on the runqueue, part2
authorChristoph Hellwig <hch@lst.de>
Mon, 23 Apr 2007 19:08:09 +0000 (21:08 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Mon, 23 Apr 2007 19:18:53 +0000 (21:18 +0200)
commit9f35f3e587fd5ee2415f0700283e3550d5c8c397
tree97af431b53f545d7a004c2e686db2bc4273e1cc4
parent93bded016e8e3e353d9088a83a4b7bd9e1b6fef3
[POWERPC] spu sched: ensure preempted threads are put back on the runqueue, part2

To not lose a spu thread we need to make sure it always gets put back
on the runqueue.  In find_victim aswell as in the scheduler tick as done
in the previous patch.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spufs/sched.c