mm: Add PGREUSE counter
commit798a6b87ecd72828a6c6b5469aaa2032a57e92b7
authorPeter Xu <peterx@redhat.com>
Fri, 21 Aug 2020 23:49:58 +0000 (21 19:49 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Sep 2020 16:25:20 +0000 (4 09:25 -0700)
tree12c67139a23f97deb577f098b320c787c99a25b9
parenta308c71bf1e6e19cc2e4ced31853ee0fc7cb439a
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>
include/linux/vm_event_item.h
mm/memory.c
mm/vmstat.c