summaryrefslogtreecommitdiff
path: root/mm/vmstat.c
diff options
context:
space:
mode:
authorVinayak Menon <vinmenon@codeaurora.org>2015-07-13 13:24:55 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-25 16:03:59 -0700
commite74a8a432ef2193d83f3dcea5bef9d02ca3b0999 (patch)
treeb3bc4641db9b33e39def3bf302ee545fc54bf2d2 /mm/vmstat.c
parent1c5466dbec98409c5882f297385d0730abab6cbb (diff)
mm: vmstat: add pageoutclean
vmstat events currently count pgpgout, but that includes only the writebacks, and not the reclaim of clean pages. Add an event to count clean page evictions. This is helpful to evaluate page thrashing cases. Change-Id: Icfb797877a544a58c289074bdc290dfbc1384514 Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Diffstat (limited to 'mm/vmstat.c')
-rw-r--r--mm/vmstat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c
index cfff11b1a75d..4923dfe89983 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -772,6 +772,7 @@ const char * const vmstat_text[] = {
/* enum vm_event_item counters */
"pgpgin",
"pgpgout",
+ "pgpgoutclean",
"pswpin",
"pswpout",