[PATCH] count bounce buffer pages in vmstat
This is a patch for counting the number of pages for bounce buffers. It's shown in /proc/vmstat. Currently, the number of bounce pages are not counted anywhere. So, if there are many bounce pages, it seems that there are leaked pages. And it's difficult for a user to imagine the usage of bounce pages. So, it's meaningful to show # of bouce pages. Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
2054606ad6
commit
edfbe2b003
@@ -1897,6 +1897,7 @@ static char *vmstat_text[] = {
|
||||
"allocstall",
|
||||
|
||||
"pgrotated",
|
||||
"nr_bounce",
|
||||
};
|
||||
|
||||
static void *vmstat_start(struct seq_file *m, loff_t *pos)
|
||||
|
Reference in New Issue
Block a user