kernel-ark/arch
Martin Schwidefsky 92f63cd000 [PATCH] s390: next_timer_interrupt overflow in stop_hz_timer
The 32 bit unsigned substraction (next - jiffies) in stop_hz_timer can
overflow if jiffies gets advanced between next_timer_interrupt and the read
under the xtime lock.  The cast to a u64 then results in a large value
which causes the cpu to wait too long.  Fix this by casting next and
jiffies independently to u64 before subtracting them.

(Spotted by Zachary Amsden <zach@vmware.com>)

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-05-21 12:59:21 -07:00
..
alpha
arm [ARM] 3530/1: PXA Mainstone: prevent double enable_irq() in pcmcia 2006-05-17 20:14:29 +01:00
arm26
cris
frv
h8300
i386 [PATCH] i386 kdump boot cpu physical apicid fix 2006-05-21 12:59:20 -07:00
ia64 [IA64] one-line cleanup on set_irq_affinity_info 2006-05-17 06:20:59 -07:00
m32r
m68k
m68knommu
mips [PATCH] drop task argument of audit_syscall_{entry,exit} 2006-05-01 06:06:18 -04:00
parisc
powerpc [PATCH] Fix pSeries identification in prom_init.c 2006-05-16 21:31:25 +10:00
ppc [PATCH] ppc32/8xx: Fix r3 trashing due to 8MB TLB page instantiation 2006-05-09 16:03:11 +10:00
s390 [PATCH] s390: next_timer_interrupt overflow in stop_hz_timer 2006-05-21 12:59:21 -07:00
sh
sh64
sparc [SPARC]: Handle UNWIND_INFO properly. 2006-05-12 12:45:50 -07:00
sparc64 [SPARC]: Handle UNWIND_INFO properly. 2006-05-12 12:45:50 -07:00
um [PATCH] uml: change timer initialization 2006-05-03 20:05:40 -07:00
v850
x86_64 [PATCH] kprobes: bad manipulation of 2 byte opcode on x86_64 2006-05-21 12:59:21 -07:00
xtensa