]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Add PGREUSE counter
authorPeter Xu <peterx@redhat.com>
Fri, 21 Aug 2020 23:49:58 +0000 (19:49 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Sep 2020 16:25:20 +0000 (09:25 -0700)
commite11b676228a7773231db216169aef1dbddbee552
tree12c67139a23f97deb577f098b320c787c99a25b9
parent98df5cb495e7b6e40c79ca9bba389367ee42db4f
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