[PATCH] reduce MAX_NR_ZONES: make display of highmem counters conditional on CONFIG_HIGHMEM
Do not display HIGHMEM memory sizes if CONFIG_HIGHMEM is not set. Make HIGHMEM dependent texts and make display of highmem counters optional Some texts are depending on CONFIG_HIGHMEM. Remove those strings and remove the display of highmem counter values if CONFIG_HIGHMEM is not set. [akpm@osdl.org: remove some ifdefs] Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
f06a96844a
commit
182e8e2373
@@ -1281,10 +1281,6 @@ void show_free_areas(void)
|
||||
|
||||
get_zone_counts(&active, &inactive, &free);
|
||||
|
||||
printk("Free pages: %11ukB (%ukB HighMem)\n",
|
||||
K(nr_free_pages()),
|
||||
K(nr_free_highpages()));
|
||||
|
||||
printk("Active:%lu inactive:%lu dirty:%lu writeback:%lu "
|
||||
"unstable:%lu free:%u slab:%lu mapped:%lu pagetables:%lu\n",
|
||||
active,
|
||||
|
Reference in New Issue
Block a user