From: KAMEZAWA Hiroyuki Date: Sat, 5 Aug 2006 19:15:06 +0000 (-0700) Subject: [PATCH] memory hotadd fixes: enhance collision check X-Git-Tag: v2.6.18-rc4~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebd15302dc0ba1b8761600c20854f5371e7bae1e;p=pandora-kernel.git [PATCH] memory hotadd fixes: enhance collision check This patch is for collision check enhancement for memory hot add. It's better to do resouce collision check before doing memory hot add, which will touch memory management structures. And add_section() should check section exists or not before calling sparse_add_one_section(). (sparse_add_one_section() will do another check anyway. but checking in memory_hotplug.c will be easy to understand.) Signed-off-by: KAMEZAWA Hiroyuki Cc: keith mannthey Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed