summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb_cgroup.c
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2019-09-23 15:37:54 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-09-24 15:54:11 -0700
commit60fbf0ab5da1c360e02b7f7d882bf1c0d8f7e32a (patch)
tree5e7979e674bcea2e82e7863bc5a881f3de5733e3 /mm/hugetlb_cgroup.c
parent520e5ba415906373186bcd3c7cffa3535bfdbdde (diff)
downloadlinux-60fbf0ab5da1c360e02b7f7d882bf1c0d8f7e32a.tar.gz
linux-60fbf0ab5da1c360e02b7f7d882bf1c0d8f7e32a.tar.bz2
linux-60fbf0ab5da1c360e02b7f7d882bf1c0d8f7e32a.zip
mm,thp: stats for file backed THP
In preparation for non-shmem THP, this patch adds a few stats and exposes them in /proc/meminfo, /sys/bus/node/devices/<node>/meminfo, and /proc/<pid>/task/<tid>/smaps. This patch is mostly a rewrite of Kirill A. Shutemov's earlier version: https://lkml.kernel.org/r/20170126115819.58875-5-kirill.shutemov@linux.intel.com/ Link: http://lkml.kernel.org/r/20190801184244.3169074-5-songliubraving@fb.com Signed-off-by: Song Liu <songliubraving@fb.com> Acked-by: Rik van Riel <riel@surriel.com> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Hillf Danton <hdanton@sina.com> Cc: Hugh Dickins <hughd@google.com> Cc: William Kucharski <william.kucharski@oracle.com> Cc: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb_cgroup.c')
0 files changed, 0 insertions, 0 deletions