Yinghai Lu 1a27fc0a42 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 <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-04-26 22:51:08 +02:00
..
2008-04-26 17:35:47 +02:00
2008-04-25 19:54:07 +02:00
2008-04-26 17:35:47 +02:00
2008-04-26 17:35:47 +02:00
2008-04-19 19:10:28 -07:00
2008-04-19 19:19:54 +02:00
2008-04-19 19:19:54 +02:00
2008-04-24 23:57:33 +02:00
2008-04-17 17:41:36 +02:00
2008-04-19 19:19:58 +02:00
2008-04-19 19:19:54 +02:00
2008-04-17 17:41:37 +02:00
2008-04-26 17:35:47 +02:00
2008-04-26 17:35:47 +02:00
2008-04-26 17:35:48 +02:00
2008-04-26 17:35:46 +02:00
2008-04-19 19:19:54 +02:00
2008-04-19 19:19:58 +02:00
2008-04-26 17:35:47 +02:00
2008-04-19 19:10:28 -07:00
2008-04-19 19:19:58 +02:00
2008-04-19 19:19:56 +02:00
2008-04-19 19:19:57 +02:00
2008-04-19 19:19:56 +02:00
2008-04-24 23:15:44 +02:00
2008-04-24 23:15:44 +02:00
2008-04-19 19:19:55 +02:00
2008-04-24 23:57:31 +02:00
2008-04-19 19:19:55 +02:00
2008-04-26 17:35:47 +02:00
2008-04-24 23:15:43 +02:00
2008-04-26 17:35:47 +02:00
2008-04-17 17:41:30 +02:00
2008-04-26 17:35:47 +02:00
2008-04-17 17:41:37 +02:00
2008-04-19 19:19:55 +02:00
2008-04-19 19:19:55 +02:00
2008-04-24 23:57:31 +02:00
2008-04-17 17:41:29 +02:00
2008-04-24 23:15:44 +02:00