diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-09-26 02:31:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 11:48:46 -0400 |
commit | 182e8e237349e7b6354f45aee4780b6423fd6a50 (patch) | |
tree | a1b9fc186a514e547eb257803616d67ba7b69976 /mm/page_alloc.c | |
parent | f06a96844a577c43249fce25809a4fae07407f46 (diff) |
[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>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 4b33878e9488..e26491cb5a27 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -1281,10 +1281,6 @@ void show_free_areas(void) | |||
1281 | 1281 | ||
1282 | get_zone_counts(&active, &inactive, &free); | 1282 | get_zone_counts(&active, &inactive, &free); |
1283 | 1283 | ||
1284 | printk("Free pages: %11ukB (%ukB HighMem)\n", | ||
1285 | K(nr_free_pages()), | ||
1286 | K(nr_free_highpages())); | ||
1287 | |||
1288 | printk("Active:%lu inactive:%lu dirty:%lu writeback:%lu " | 1284 | printk("Active:%lu inactive:%lu dirty:%lu writeback:%lu " |
1289 | "unstable:%lu free:%u slab:%lu mapped:%lu pagetables:%lu\n", | 1285 | "unstable:%lu free:%u slab:%lu mapped:%lu pagetables:%lu\n", |
1290 | active, | 1286 | active, |