original_kernel/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
crypto
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
mm [PATCH] x86_64: Bug correction in populate_memnodemap() 2005-12-12 22:31:16 -08:00
oprofile
pci [PATCH] i386/x86-64 Correct for broken MCFG tables on K8 systems 2005-12-12 22:31:16 -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
defconfig