aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2006-06-30 04:55:41 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-30 14:25:36 -0400
commitd2c5e30c9a1420902262aa923794d2ae4e0bc391 (patch)
treeb8c42c189c2bc8dd4b6d808ee8ed2b28dbd70ddd /fs
parentfd39fc8561be33065306bdac0e30414e1e8ac8e1 (diff)
[PATCH] zoned vm counters: conversion of nr_bounce to per zone counter
Conversion of nr_bounce to a per zone counter nr_bounce is only used for proc output. So it could be left as an event counter. However, the event counters may not be accurate and nr_bounce is categorizing types of pages in a zone. So we really need this to also be 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 'fs')
-rw-r--r--fs/proc/proc_misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c
index eae66b41a1a4..6aa2aa779a09 100644
--- a/fs/proc/proc_misc.c
+++ b/fs/proc/proc_misc.c
@@ -171,6 +171,7 @@ static int meminfo_read_proc(char *page, char **start, off_t off,
171 "Slab: %8lu kB\n" 171 "Slab: %8lu kB\n"
172 "PageTables: %8lu kB\n" 172 "PageTables: %8lu kB\n"
173 "NFS Unstable: %8lu kB\n" 173 "NFS Unstable: %8lu kB\n"
174 "Bounce: %8lu kB\n"
174 "CommitLimit: %8lu kB\n" 175 "CommitLimit: %8lu kB\n"
175 "Committed_AS: %8lu kB\n" 176 "Committed_AS: %8lu kB\n"
176 "VmallocTotal: %8lu kB\n" 177 "VmallocTotal: %8lu kB\n"
@@ -196,6 +197,7 @@ static int meminfo_read_proc(char *page, char **start, off_t off,
196 K(global_page_state(NR_SLAB)), 197 K(global_page_state(NR_SLAB)),
197 K(global_page_state(NR_PAGETABLE)), 198 K(global_page_state(NR_PAGETABLE)),
198 K(global_page_state(NR_UNSTABLE_NFS)), 199 K(global_page_state(NR_UNSTABLE_NFS)),
200 K(global_page_state(NR_BOUNCE)),
199 K(allowed), 201 K(allowed),
200 K(committed), 202 K(committed),
201 (unsigned long)VMALLOC_TOTAL >> 10, 203 (unsigned long)VMALLOC_TOTAL >> 10,