From: KAMEZAWA Hiroyuki Date: Mon, 25 Sep 2006 23:25:31 +0000 (-0700) Subject: [PATCH] cpu to node relationship fixup: map cpu to node X-Git-Tag: v2.6.19-rc1~1237 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3212fe1594e577463bc8601d28aa008f520c3377;p=pandora-kernel.git [PATCH] cpu to node relationship fixup: map cpu to node Assume that a cpu is *physically* offlined at boot time... Because smpboot.c::smp_boot_cpu_map() canoot find cpu's sapicid, numa.c::build_cpu_to_node_map() cannot build cpu<->node map for offlined cpu. For such cpus, cpu_to_node map should be fixed at cpu-hot-add. This mapping should be done before cpu onlining. This patch also handles cpu hotremove case. Signed-off-by: KAMEZAWA Hiroyuki Cc: "Luck, Tony" Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed