summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-01 22:15:22 +0200
committerIngo Molnar <mingo@elte.hu>2008-06-03 13:26:26 +0200
commite8c27ac9191ab9e6506ae5cbe70d87ac50f8e960 (patch)
tree2495cf0575b34b69210eca62c91224b474cf5092 /mm
parentx86, 32-bit: change propagate_e820_map() back to find_max_pfn() (diff)
downloadlinux-e8c27ac9191ab9e6506ae5cbe70d87ac50f8e960.tar.xz
linux-e8c27ac9191ab9e6506ae5cbe70d87ac50f8e960.zip
x86, numa, 32-bit: print out debug info on all kvas
also fix the print out of node_remap_end_vaddr Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm')
-rw-r--r--mm/page_alloc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 63835579323a..502223c3c2c6 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -3486,6 +3486,11 @@ void __paginginit free_area_init_node(int nid, struct pglist_data *pgdat,
calculate_node_totalpages(pgdat, zones_size, zholes_size);
alloc_node_mem_map(pgdat);
+#ifdef CONFIG_FLAT_NODE_MEM_MAP
+ printk(KERN_DEBUG "free_area_init_node: node %d, pgdat %08lx, node_mem_map %08lx\n",
+ nid, (unsigned long)pgdat,
+ (unsigned long)pgdat->node_mem_map);
+#endif
free_area_init_core(pgdat, zones_size, zholes_size);
}