kernel-ark/arch/powerpc/platforms
Christoph Hellwig 9d78592ed7 [POWERPC] spusched: Fix initial timeslice calculation
Currently we calculate the first timeslice for every context
incorrectly - alloc_spu_context calls spu_set_timeslice before we set
ctx->prio so we always calculate the longest possible timeslice for the
lowest possible priority.

This patch makes sure to update the schedule-related fields before
calculating the timeslice and also makes sure we update the timeslice for
a non-running context when entering spu_run so a priority change affects
the context as soon as possible.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-07-26 16:17:56 +10:00
..
4xx
8xx
44x
52xx
82xx
83xx
85xx [POWERPC] 85xxCDS: Misc 8548 PCI Corrections. 2007-07-24 10:31:49 -05:00
86xx
cell [POWERPC] spusched: Fix initial timeslice calculation 2007-07-26 16:17:56 +10:00
celleb
chrp
embedded6xx
iseries [POWERPC] iSeries: Fix section mismatch warning in lpevents 2007-07-26 16:12:18 +10:00
maple [POWERPC] Fix Maple platform ISA bus 2007-07-26 16:17:49 +10:00
pasemi
powermac
prep
ps3
pseries
Kconfig
Kconfig.cputype
Makefile