From: Yinghai Lu Date: Tue, 18 Mar 2008 19:52:37 +0000 (-0700) Subject: x86_64: fix setup_node_bootmem to support big mem excluding with memmap X-Git-Tag: v2.6.26-rc1~1035^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a27fc0a42162964d758e9d36d2d1b49c082a67c;p=pandora-kernel.git x86_64: fix setup_node_bootmem to support big mem excluding with memmap typical case: four sockets system, every node has 4g ram, and we are using: memmap=10g$4g to mask out memory on node1 and node2 when numa is enabled, early_node_mem is used to get node_data and node_bootmap. if it can not get memory from the same node with find_e820_area(), it will use alloc_bootmem to get buff from previous nodes. so check it and print out some info about it. need to move early_res_to_bootmem into every setup_node_bootmem. and it takes range that node has. otherwise alloc_bootmem could return addr that reserved early. depends on "mm: make reserve_bootmem can crossed the nodes". Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed