android_kernel_motorola_sm6225/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 powerpc: 8xx: fix whitespace and indentation 2007-07-17 10:23:02 -07:00
44x [POWERPC] Small fixes for the Ebony device tree 2007-05-17 21:11:14 +10:00
52xx [POWERPC] 52xx: sparse fixes 2007-07-10 00:33:01 -05:00
82xx [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
83xx [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
85xx [POWERPC] 85xxCDS: Misc 8548 PCI Corrections. 2007-07-24 10:31:49 -05:00
86xx [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
cell [POWERPC] spusched: Fix initial timeslice calculation 2007-07-26 16:17:56 +10:00
celleb [POWERPC] scc_sio: Fix link failure 2007-06-07 11:44:40 +10:00
chrp [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
embedded6xx [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
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 [POWERPC] pasemi: Don't auto-select CONFIG_EMBEDDED 2007-07-10 22:01:00 +10:00
powermac Merge branch 'for-2.6.23' into merge 2007-07-11 13:28:26 +10:00
prep
ps3 ps3: FLASH ROM Storage Driver 2007-07-21 17:49:16 -07:00
pseries [POWERPC] Fix future firmware feature fixups function failure 2007-07-22 21:30:58 +10:00
Kconfig [CELL] driver for DDR2 memory on AXON 2007-07-20 21:41:42 +02:00
Kconfig.cputype [POWERPC] Fix misspelled "CONFIG_CHECK_CACHE_COHERENCY" Kconfig option. 2007-07-22 21:30:58 +10:00
Makefile