From: Daniel Yeisley Date: Wed, 15 Feb 2006 23:17:41 +0000 (-0800) Subject: [PATCH] x86_64: early initialization of cpu_to_node X-Git-Tag: v2.6.16-rc4~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1db4ec86c7b1bf5b44d2ed3bf84a4bb53c33b1c;p=pandora-kernel.git [PATCH] x86_64: early initialization of cpu_to_node The early initialization of cpu_to_node code as it is now only updates the cpu_to_node array, and does not update cpu_pda()->nodemember. This will cause numa_node_id() to return 0 on systems where CPU 0 is not on Node 0. This leads to a kernel panic in slab.c. I've tested the patch below on a 16 processor x86_64 ES7000-600 server, and no longer see the panic I saw with the original 2.6.16-rc3. Signed-off-by: Dan Yeisley Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed