]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commite097b513285e616215b23af234d127298bb8d89a
tree97af431b53f545d7a004c2e686db2bc4273e1cc4
parentb3e76cc3244ac139fc75750c5af9edbb9f191a10
[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