linux/arch
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
..
alpha some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
arm [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
arm26 take declarations of enable_irq() et.al. to linux/interrupt.h 2007-07-22 11:44:00 -07:00
avr32 Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds 2007-07-22 11:22:01 -07:00
blackfin some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
cris Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-07-19 14:28:19 -07:00
frv FRV: work around a possible compiler bug 2007-07-19 10:04:50 -07:00
h8300 PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
i386 [x86 setup] Make struct ist_info cross-architecture, and use in setup code 2007-07-25 12:02:21 -07:00
ia64 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2007-07-25 15:50:20 -07:00
m32r Merge branch 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6 2007-07-19 14:24:57 -07:00
m68k take declarations of enable_irq() et.al. to linux/interrupt.h 2007-07-22 11:44:00 -07:00
m68knommu m68knommu: make BOOTPARAM setup common 2007-07-25 11:05:01 -07:00
mips [MIPS] Fix marge error due to conflict in arch/mips/kernel/head.S 2007-07-24 16:02:48 +01:00
parisc define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
powerpc [POWERPC] spusched: Fix initial timeslice calculation 2007-07-26 16:17:56 +10:00
ppc [POWERPC] mv64x60: Use mutex instead of semaphore 2007-07-22 21:30:58 +10:00
s390 s390: Put allocated ELF notes in read-only data segment 2007-07-19 10:04:47 -07:00
sh clockevents: fix resume logic 2007-07-21 17:49:15 -07:00
sh64 sh64: Flag sh64_get_page() as __init_refok. 2007-07-20 17:46:42 +09:00
sparc [SPARC32]: Fix bug in sparc optimized memset. 2007-07-24 13:41:44 -07:00
sparc64 [SPARC64]: Mark most of initial bootup asm as .text.init.ref_ok 2007-07-24 15:17:33 -07:00
um Merge branch 'request-queue-t' of git://git.kernel.dk/linux-2.6-block 2007-07-24 12:26:44 -07:00
v850 PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
x86_64 ACPI: Kconfig: remove CONFIG_ACPI_SLEEP from source 2007-07-25 01:29:39 -04:00
xtensa Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-07-19 14:28:19 -07:00