From: Yinghai Lu Subject: [PATCH] mm: print out info about adding/removing active region Signed-off-by: Yinghai Lu --- mm/page_alloc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Index: linux-2.6/mm/page_alloc.c =================================================================== --- linux-2.6.orig/mm/page_alloc.c +++ linux-2.6/mm/page_alloc.c @@ -3626,8 +3626,7 @@ void __init add_active_range(unsigned in { int i; - mminit_dprintk(MMINIT_TRACE, "memory_register", - "Entering add_active_range(%d, %#lx, %#lx) " + printk(KERN_DEBUG "Adding active range (%d, %#lx, %#lx) " "%d entries of %d used\n", nid, start_pfn, end_pfn, nr_nodemap_entries, MAX_ACTIVE_REGIONS); @@ -3689,7 +3688,7 @@ void __init remove_active_range(unsigned int i, j; int removed = 0; - printk(KERN_DEBUG "remove_active_range (%d, %lu, %lu)\n", + printk(KERN_DEBUG "Removing active range (%d, %#lx, %#lx)\n", nid, start_pfn, end_pfn); /* Find the old active region end and shrink */