diff options
author | Johannes Weiner <[email protected]> | 2017-03-31 15:11:50 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-03-31 17:13:30 -0700 |
commit | 553af430e7c981e6e8fa5007c5b7b5773acc63dd (patch) | |
tree | 9daa7662d639426e54773ddac03b69a6fc5a5d7d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 597b7305dd8bafdb3aef4957d97128bc90af8e9f (diff) |
mm: rmap: fix huge file mmap accounting in the memcg stats
Huge pages are accounted as single units in the memcg's "file_mapped"
counter. Account the correct number of base pages, like we do in the
corresponding node counter.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Johannes Weiner <[email protected]>
Reviewed-by: Kirill A. Shutemov <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Vladimir Davydov <[email protected]>
Cc: <[email protected]> [4.8+]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions