diff options
author | Peter Xu <peterx@redhat.com> | 2020-08-21 19:49:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-09-04 09:25:20 -0700 |
commit | 798a6b87ecd72828a6c6b5469aaa2032a57e92b7 (patch) | |
tree | 12c67139a23f97deb577f098b320c787c99a25b9 /mm/vmstat.c | |
parent | a308c71bf1e6e19cc2e4ced31853ee0fc7cb439a (diff) | |
download | linux-798a6b87ecd72828a6c6b5469aaa2032a57e92b7.tar.gz linux-798a6b87ecd72828a6c6b5469aaa2032a57e92b7.tar.bz2 linux-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 'mm/vmstat.c')
-rw-r--r-- | mm/vmstat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c index 3fb23a21f6dd..907a5045bfa3 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c @@ -1198,6 +1198,7 @@ const char * const vmstat_text[] = { "pglazyfreed", "pgrefill", + "pgreuse", "pgsteal_kswapd", "pgsteal_direct", "pgscan_kswapd", |