summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-01 13:15:22 -0700
committerIngo Molnar <mingo@elte.hu>2008-06-03 13:26:26 +0200
commite8c27ac9191ab9e6506ae5cbe70d87ac50f8e960 (patch)
tree2495cf0575b34b69210eca62c91224b474cf5092 /mm/page_alloc.c
parent0596152388e234efebce464355186ad9e16c8cb6 (diff)
downloadop-kernel-dev-e8c27ac9191ab9e6506ae5cbe70d87ac50f8e960.zip
op-kernel-dev-e8c27ac9191ab9e6506ae5cbe70d87ac50f8e960.tar.gz
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/page_alloc.c')
-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 6383557..502223c 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);
}
OpenPOWER on IntegriCloud