summaryrefslogtreecommitdiffstats
path: root/include/linux/mmzone.h
diff options
context:
space:
mode:
authorChristoph Lameter2006-06-30 10:55:41 +0200
committerLinus Torvalds2006-06-30 20:25:36 +0200
commitd2c5e30c9a1420902262aa923794d2ae4e0bc391 (patch)
treeb8c42c189c2bc8dd4b6d808ee8ed2b28dbd70ddd /include/linux/mmzone.h
parent[PATCH] zoned vm counters: conversion of nr_unstable to per zone counter (diff)
downloadkernel-qcow2-linux-d2c5e30c9a1420902262aa923794d2ae4e0bc391.tar.gz
kernel-qcow2-linux-d2c5e30c9a1420902262aa923794d2ae4e0bc391.tar.xz
kernel-qcow2-linux-d2c5e30c9a1420902262aa923794d2ae4e0bc391.zip
[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 'include/linux/mmzone.h')
-rw-r--r--include/linux/mmzone.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index e9d80697f555..2dbeec1d2874 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -56,6 +56,7 @@ enum zone_stat_item {
NR_FILE_DIRTY,
NR_WRITEBACK,
NR_UNSTABLE_NFS, /* NFS unstable pages */
+ NR_BOUNCE,
NR_VM_ZONE_STAT_ITEMS };
struct per_cpu_pages {