aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2006-06-30 01:55:38 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-30 11:25:35 -0700
commitdf849a1529c106f7460e51479ca78fe07b07dc8c (patch)
treef0e52e4720160aa7540a57715c247dce44584cbc /mm/page_alloc.c
parent9a865ffa34b6117a5e0b67640a084d8c2e198c93 (diff)
downloadkernel_samsung_smdk4412-df849a1529c106f7460e51479ca78fe07b07dc8c.zip
kernel_samsung_smdk4412-df849a1529c106f7460e51479ca78fe07b07dc8c.tar.gz
kernel_samsung_smdk4412-df849a1529c106f7460e51479ca78fe07b07dc8c.tar.bz2
[PATCH] zoned vm counters: conversion of nr_pagetables to per zone counter
Conversion of nr_page_table_pages to a per zone counter [akpm@osdl.org: bugfix] 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index a38a11c..ed3f2a7 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1320,7 +1320,7 @@ void show_free_areas(void)
nr_free_pages(),
global_page_state(NR_SLAB),
global_page_state(NR_FILE_MAPPED),
- ps.nr_page_table_pages);
+ global_page_state(NR_PAGETABLE));
for_each_zone(zone) {
int i;