[PATCH 4/7] mm: print out meminit for memmap

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yinghai Lu
Date: Wednesday, September 24, 2008 - 7:04 pm

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
 mm/page_alloc.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index e293c58..db30af6 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -3425,8 +3425,8 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat,
 			PAGE_ALIGN(size * sizeof(struct page)) >> PAGE_SHIFT;
 		if (realsize >= memmap_pages) {
 			realsize -= memmap_pages;
-			mminit_dprintk(MMINIT_TRACE, "memmap_init",
-				"%s zone: %lu pages used for memmap\n",
+			printk(KERN_DEBUG
+				"  %s zone: %lu pages used for memmap\n",
 				zone_names[j], memmap_pages);
 		} else
 			printk(KERN_WARNING
@@ -3436,8 +3436,7 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat,
 		/* Account for reserved pages */
 		if (j == 0 && realsize > dma_reserve) {
 			realsize -= dma_reserve;
-			mminit_dprintk(MMINIT_TRACE, "memmap_init",
-					"%s zone: %lu pages reserved\n",
+			printk(KERN_DEBUG "  %s zone: %lu pages reserved\n",
 					zone_names[0], dma_reserve);
 		}
 
-- 
1.5.6

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 3/7] pci: using %pF in quirks.c, Yinghai Lu, (Wed Sep 24, 7:04 pm)
[PATCH 4/7] mm: print out meminit for memmap, Yinghai Lu, (Wed Sep 24, 7:04 pm)
[PATCH 5/7] x86: fix typo in irq_desc array, Yinghai Lu, (Wed Sep 24, 7:04 pm)
[PATCH 7/7] x86: print out irq nr for msi/ht, Yinghai Lu, (Wed Sep 24, 7:04 pm)
Re: [PATCH 4/7] mm: print out meminit for memmap, Ingo Molnar, (Thu Sep 25, 1:35 am)
Re: [PATCH 5/7] x86: fix typo in irq_desc array, Ingo Molnar, (Thu Sep 25, 1:36 am)
Re: [PATCH 3/7] pci: using %pF in quirks.c, Jesse Barnes, (Thu Sep 25, 7:52 am)
Re: [PATCH 3/7] pci: using %pF in quirks.c, Bjorn Helgaas, (Thu Sep 25, 7:56 am)
Re: [PATCH 3/7] pci: using %pF in quirks.c, Jesse Barnes, (Thu Sep 25, 9:20 am)