linux/arch/x86_64
Eric Dumazet 8309cf66fd [PATCH] x86_64: Bug correction in populate_memnodemap()
As reported by Keith Mannthey, there are problems in populate_memnodemap()

The bug was that the compute_hash_shift() was returning 31, with incorrect
initialization of memnodemap[]

To correct the bug, we must use (1UL << shift) instead of (1 << shift) to
avoid an integer overflow, and we must check that shift < 64 to avoid an
infinite loop.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-12-12 22:31:16 -08:00
..
boot [PATCH] x86-64: Fix gcc 4 warnings about pointer signedness 2005-09-12 10:50:56 -07:00
crypto [PATCH] x86_64: add MODULE_ALIAS for aes 2005-08-08 15:29:13 -07:00
ia32 [PATCH] x86_64: Fix 32bit thread coredumps 2005-12-12 22:31:16 -08:00
kernel [PATCH] x86_64: Fix collision between pmtimer and pit/hpet 2005-12-12 22:31:16 -08:00
lib [PATCH] x86_64: Remove optimization for B stepping AMD K8 2005-11-14 19:55:17 -08:00
mm [PATCH] x86_64: Bug correction in populate_memnodemap() 2005-12-12 22:31:16 -08:00
oprofile [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
pci [PATCH] i386/x86-64 Correct for broken MCFG tables on K8 systems 2005-12-12 22:31:16 -08:00
defconfig [PATCH] x86_64: Update defconfig 2005-11-14 19:55:12 -08:00
Kconfig Merge x86-64 update from Andi 2005-11-14 19:56:02 -08:00
Kconfig.debug Merge x86-64 update from Andi 2005-11-14 19:56:02 -08:00
Makefile kbuild: alpha,x86_64 use generic asm-offsets.h support 2005-09-09 21:28:48 +02:00