From: David Rientjes Date: Tue, 7 May 2013 23:18:09 +0000 (-0700) Subject: mm, memcg: add rss_huge stat to memory.stat X-Git-Tag: omap-for-v3.10/fixes-for-merge-window-part2~12^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b070e65c0bb58d90fa1ac693dc85e239a6b16872;p=pandora-kernel.git 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 Acked-by: Michal Hocko Acked-by: Johannes Weiner Cc: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed