summaryrefslogtreecommitdiffstats
path: root/mm/msync.c
diff options
context:
space:
mode:
authorDavid Rientjes2013-05-08 01:18:09 +0200
committerLinus Torvalds2013-05-08 03:38:26 +0200
commitb070e65c0bb58d90fa1ac693dc85e239a6b16872 (patch)
tree8738b57c68ca2bb655dee5a152ed0152222ecfe5 /mm/msync.c
parentmm/SPARC: use common help functions to free reserved pages (diff)
downloadkernel-qcow2-linux-b070e65c0bb58d90fa1ac693dc85e239a6b16872.tar.gz
kernel-qcow2-linux-b070e65c0bb58d90fa1ac693dc85e239a6b16872.tar.xz
kernel-qcow2-linux-b070e65c0bb58d90fa1ac693dc85e239a6b16872.zip
mm, memcg: add rss_huge stat to memory.stat
This exports the amount of anonymous transparent hugepages for each memcg via the new "rss_huge" stat in memory.stat. The units are in bytes. This is helpful to determine the hugepage utilization for individual jobs on the system in comparison to rss and opportunities where MADV_HUGEPAGE may be helpful. The amount of anonymous transparent hugepages is also included in "rss" for backwards compatibility. Signed-off-by: David Rientjes <rientjes@google.com> Acked-by: Michal Hocko <mhocko@suse.cz> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/msync.c')
0 files changed, 0 insertions, 0 deletions