Revision 553af430e7c981e6e8fa5007c5b7b5773acc63dd authored by Johannes Weiner on 31 March 2017, 22:11:50 UTC, committed by Linus Torvalds on 01 April 2017, 00:13:30 UTC
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/20170322005111.3156-1-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: <stable@vger.kernel.org>	[4.8+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 597b730
History
File Mode Size
Documentation
feature
tests
.gitignore -rw-r--r-- 7 bytes
Build -rw-r--r-- 42 bytes
Build.include -rw-r--r-- 4.0 KB
Makefile -rw-r--r-- 1020 bytes
Makefile.build -rw-r--r-- 4.0 KB
Makefile.feature -rw-r--r-- 7.4 KB
Makefile.include -rw-r--r-- 217 bytes
fixdep.c -rw-r--r-- 3.7 KB

back to top