summaryrefslogtreecommitdiff
path: root/include/linux
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 /include/linux
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 'include/linux')
-rw-r--r--include/linux/vm_event_item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/vm_event_item.h b/include/linux/vm_event_item.h
index e623d392db0c..2a03a062a395 100644
--- a/include/linux/vm_event_item.h
+++ b/include/linux/vm_event_item.h
@@ -21,7 +21,7 @@
#define FOR_ALL_ZONES(xx) DMA_ZONE(xx) DMA32_ZONE(xx) xx##_NORMAL, HIGHMEM_ZONE(xx) xx##_MOVABLE
-enum vm_event_item { PGPGIN, PGPGOUT, PSWPIN, PSWPOUT,
+enum vm_event_item { PGPGIN, PGPGOUT, PGPGOUTCLEAN, PSWPIN, PSWPOUT,
FOR_ALL_ZONES(PGALLOC),
PGFREE, PGACTIVATE, PGDEACTIVATE,
PGFAULT, PGMAJFAULT,