[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.

[[email protected]: bugfix]
Signed-off-by: Christoph Lameter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Christoph Lameter 2006-06-30 01:55:41 -07:00 • committed by Linus Torvalds
commit d2c5e30c9a
6 changed files with 9 additions and 5 deletions

View file

@ -381,6 +381,7 @@ static char *vmstat_text[] = {
"nr_dirty",
"nr_writeback",
"nr_unstable",
"nr_bounce",
/* Event counters */
"pgpgin",
@ -428,7 +429,6 @@ static char *vmstat_text[] = {
"allocstall",
"pgrotated",
"nr_bounce",
};
/*