linux_old1/arch/s390
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
..
appldata [PATCH] Remove __devinitdata from notifier block definitions 2006-04-26 08:27:50 -07:00
boot [PATCH] use ${CROSS_COMPILE}installkernel in arch/*/boot/install.sh 2005-06-23 09:45:07 -07:00
crypto [PATCH] more s/fucn/func/ typo fixes 2006-03-26 08:57:09 -08:00
kernel [PATCH] s390: next_timer_interrupt overflow in stop_hz_timer 2006-05-21 12:59:21 -07:00
lib [PATCH] s390: Increase spinlock retry code performance 2006-03-09 19:47:38 -08:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm [PATCH] s390: segment operation error codes 2006-04-28 08:33:48 -07:00
oprofile [PATCH] s390: add oprofile callgraph support 2006-01-06 08:33:50 -08:00
Kconfig [PATCH] bitops: s390: use generic bitops 2006-03-26 08:57:14 -08:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] arch/s390/Makefile: remove -finline-limit=10000 2006-04-11 06:18:39 -07:00
defconfig [PATCH] s390: update default configuration 2006-04-11 06:18:37 -07:00