]> git.baikalelectronics.ru Git - kernel.git/commit
mm, rmap: account shmem thp pages
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Tue, 26 Jul 2016 22:26:10 +0000 (15:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2016 23:19:19 +0000 (16:19 -0700)
commit1311b80875211d7ef05259faf9f238b4b377202b
tree4210852e253bcea95da5b2973d7be93a535ee3a1
parent6ad7c798605e77711d6090e93fb038549fc2c092
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>
drivers/base/node.c
fs/proc/meminfo.c
fs/proc/task_mmu.c
include/linux/mmzone.h
mm/huge_memory.c
mm/page_alloc.c
mm/rmap.c
mm/vmstat.c