summaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorKirill A. Shutemov2016-07-27 00:26:10 +0200
committerLinus Torvalds2016-07-27 01:19:19 +0200
commit65c453778aea374a46597f4d9826274d1eaf7338 (patch)
tree4210852e253bcea95da5b2973d7be93a535ee3a1 /mm/shmem.c
parenttruncate: handle file thp (diff)
downloadkernel-qcow2-linux-65c453778aea374a46597f4d9826274d1eaf7338.tar.gz
kernel-qcow2-linux-65c453778aea374a46597f4d9826274d1eaf7338.tar.xz
kernel-qcow2-linux-65c453778aea374a46597f4d9826274d1eaf7338.zip
mm, rmap: account shmem thp pages
Let's add ShmemHugePages and ShmemPmdMapped fields into meminfo and smaps. It indicates how many times we allocate and map shmem THP. NR_ANON_TRANSPARENT_HUGEPAGES is renamed to NR_ANON_THPS. Link: http://lkml.kernel.org/r/1466021202-61880-27-git-send-email-kirill.shutemov@linux.intel.com Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions