diff options
author | Anton Blanchard <anton@samba.org> | 2006-03-25 06:06:49 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 11:22:50 -0500 |
commit | f5335c0f1bcba16907972b66b905f62402433e23 (patch) | |
tree | 9db1cf38a34b3dc9559e785d910e95d7002c91e2 /mm/page_alloc.c | |
parent | d784124cfe9377c1a24d8efba31401f81c7c11f9 (diff) |
[PATCH] quieten zone_pcp_init
In zone_pcp_init we print out all zones even if they are empty:
On node 0 totalpages: 245760
DMA zone: 245760 pages, LIFO batch:31
DMA32 zone: 0 pages, LIFO batch:0
Normal zone: 0 pages, LIFO batch:0
HighMem zone: 0 pages, LIFO batch:0
To conserve dmesg space why not print only the non zero zones.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index a5c3f8bd98ae..637f57ff5b5a 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -2029,8 +2029,9 @@ static __meminit void zone_pcp_init(struct zone *zone) | |||
2029 | setup_pageset(zone_pcp(zone,cpu), batch); | 2029 | setup_pageset(zone_pcp(zone,cpu), batch); |
2030 | #endif | 2030 | #endif |
2031 | } | 2031 | } |
2032 | printk(KERN_DEBUG " %s zone: %lu pages, LIFO batch:%lu\n", | 2032 | if (zone->present_pages) |
2033 | zone->name, zone->present_pages, batch); | 2033 | printk(KERN_DEBUG " %s zone: %lu pages, LIFO batch:%lu\n", |
2034 | zone->name, zone->present_pages, batch); | ||
2034 | } | 2035 | } |
2035 | 2036 | ||
2036 | static __meminit void init_currently_empty_zone(struct zone *zone, | 2037 | static __meminit void init_currently_empty_zone(struct zone *zone, |