summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2020-08-21 19:49:58 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2020-09-04 09:25:20 -0700
commit798a6b87ecd72828a6c6b5469aaa2032a57e92b7 (patch)
tree12c67139a23f97deb577f098b320c787c99a25b9 /include
parenta308c71bf1e6e19cc2e4ced31853ee0fc7cb439a (diff)
downloadlwn-798a6b87ecd72828a6c6b5469aaa2032a57e92b7.tar.gz
lwn-798a6b87ecd72828a6c6b5469aaa2032a57e92b7.zip
mm: Add PGREUSE counter
This accounts for wp_page_reuse() case, where we reused a page for COW. Signed-off-by: Peter Xu <peterx@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/vm_event_item.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/vm_event_item.h b/include/linux/vm_event_item.h
index 24fc7c3ae7d6..58d3f91baad1 100644
--- a/include/linux/vm_event_item.h
+++ b/include/linux/vm_event_item.h
@@ -30,6 +30,7 @@ enum vm_event_item { PGPGIN, PGPGOUT, PSWPIN, PSWPOUT,
PGFAULT, PGMAJFAULT,
PGLAZYFREED,
PGREFILL,
+ PGREUSE,
PGSTEAL_KSWAPD,
PGSTEAL_DIRECT,
PGSCAN_KSWAPD,