Re: [PATCH] mm: rmap: fix huge file mmap accounting in the memcg stats
From: Johannes Weiner
Date: Fri Mar 24 2017 - 09:46:46 EST
On Fri, Mar 24, 2017 at 02:07:55PM +0300, Kirill A. Shutemov wrote:
> On Tue, Mar 21, 2017 at 08:51:11PM -0400, Johannes Weiner wrote:
> > 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.
> >
> > Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>
>
> Sorry for missing that:
>
> Reviewed-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
Thanks!
> Do we want it into stable?
>
> Cc: <stable@xxxxxxxxxxxxxxx> [4.8+]
Yep, that makes sense.