Files
linux/arch
Christoph Hellwig bb5db29aa0 [POWERPC] spufs scheduler: Fix wakeup races
Fix the race between checking for contexts on the runqueue and actually
waking them in spu_deactive and spu_yield.

The guts of spu_reschedule are split into a new helper called
grab_runnable_context which shows if there is a runnable thread below
a specified priority and if yes removes if from the runqueue and uses
it.  This function is used by the new __spu_deactivate hepler shared
by preemption and spu_yield to grab a new context before deactivating
a specified priority and if yes removes if from the runqueue and uses
it.  This function is used by the new __spu_deactivate hepler shared
by preemption and spu_yield to grab a new context before deactivating
the old one.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-06-07 11:44:39 +10:00
..
2007-06-01 08:18:29 -07:00
2007-06-01 08:18:28 -07:00
2007-05-09 07:12:20 +02:00
2007-06-01 08:18:29 -07:00
2007-06-04 13:25:09 -07:00
2007-06-01 08:18:27 -07:00
2007-06-01 08:18:28 -07:00
2007-05-31 17:38:11 +02:00
2007-05-31 13:48:57 +09:00
2007-05-31 01:52:51 -07:00
2007-05-23 20:14:12 -07:00