linux/arch/powerpc
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
..
boot [POWERPC] Fix RTC and device tree on linkstation machines 2007-07-26 16:12:17 +10:00
configs [POWERPC] Add basic PCI/PCI Express support for 8544DS board 2007-07-23 22:30:02 -05:00
kernel [POWERPC] Make pci_iounmap actually unmap things 2007-07-26 16:17:48 +10:00
lib [POWERPC] rheap - eliminates internal fragments caused by alignment 2007-06-19 22:35:53 -05:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm [POWERPC] Fix loop with unsigned long counter variable 2007-07-26 16:12:17 +10:00
oprofile [CELL] oprofile: add support to OProfile for profiling CELL BE SPUs 2007-07-20 21:42:24 +02:00
platforms [POWERPC] spusched: Fix initial timeslice calculation 2007-07-26 16:17:56 +10:00
sysdev [POWERPC] Add of_register_i2c_devices() 2007-07-26 16:12:17 +10:00
xmon [POWERPC] fix showing xmon help 2007-07-22 21:30:58 +10:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
Kconfig.debug Fix trivial typos in Kconfig* files 2007-05-09 07:12:20 +02:00
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-07-19 14:28:19 -07:00