kernel-fxtec-pro1x/arch/s390/kernel
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
..
asm-offsets.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
binfmt_elf32.c [PATCH] s390: task_pt_regs() 2006-01-12 09:08:54 -08:00
bitmap.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat_exec_domain.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat_linux.c [PATCH] consolidate sys32/compat_adjtimex 2006-03-26 08:56:57 -08:00
compat_linux.h [PATCH] compat: introduce compat_time_t 2005-06-23 09:45:32 -07:00
compat_ptrace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat_signal.c [PATCH] s390: alternate signal stack handling bug 2006-04-28 08:33:47 -07:00
compat_wrapper.S [PATCH] s390: add vmsplice system call 2006-05-15 11:20:55 -07:00
cpcmd.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
crash.c [PATCH] kdump: dynamic per cpu allocation of memory for saving cpu registers 2006-01-10 08:01:26 -08:00
debug.c [PATCH] s390: kzalloc() conversion in arch/s390 2006-03-24 07:33:18 -08:00
ebcdic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
entry.S [PATCH] s390: Add support for new syscalls/TIF_RESTORE_SIGMASK 2006-02-01 08:53:24 -08:00
entry64.S [PATCH] s390: Add support for new syscalls/TIF_RESTORE_SIGMASK 2006-02-01 08:53:24 -08:00
head.S [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
head31.S [PATCH] s390: merge common parts of head.S and head64.S 2005-11-07 07:53:34 -08:00
head64.S [PATCH] s390: merge common parts of head.S and head64.S 2005-11-07 07:53:34 -08:00
init_task.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
machine_kexec.c [PATCH] s390: fix non smp build of kexec 2006-02-11 21:41:12 -08:00
Makefile [PATCH] sanitize building of fs/compat_ioctl.c 2006-01-10 08:01:33 -08:00
module.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
process.c [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
profile.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ptrace.c [PATCH] drop task argument of audit_syscall_{entry,exit} 2006-05-01 06:06:18 -04:00
reipl.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
reipl64.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
reipl_diag.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
relocate_kernel.S [PATCH] s390: kexec fixes and improvements. 2005-08-01 21:37:59 -07:00
relocate_kernel64.S [PATCH] s390: kexec fixes and improvements. 2005-08-01 21:37:59 -07:00
s390_ext.c [PATCH] s390: external call performance 2005-07-27 16:26:04 -07:00
s390_ksyms.c [PATCH] don't include ioctl32.h in drivers 2006-01-10 08:01:34 -08:00
semaphore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.c [PATCH] s390: early parameter parsing 2006-03-24 07:33:16 -08:00
signal.c [PATCH] s390: bug in setup_rt_frame 2006-05-01 18:17:46 -07:00
smp.c [PATCH] for_each_possible_cpu: s390 2006-03-31 12:18:52 -08:00
sys_s390.c [PATCH] s390 misc __user annotations 2006-02-08 01:04:23 -05:00
syscalls.S [PATCH] s390: add vmsplice system call 2006-05-15 11:20:55 -07:00
time.c [PATCH] s390: next_timer_interrupt overflow in stop_hz_timer 2006-05-21 12:59:21 -07:00
traps.c [PATCH] s390 misc __user annotations 2006-02-08 01:04:23 -05:00
vmlinux.lds.S [PATCH] s390: add read_mostly optimization 2006-04-28 08:33:48 -07:00
vtime.c [PATCH] s390: cputime misaccounting 2006-01-14 18:27:09 -08:00