Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932113AbdCXNqg (ORCPT ); Fri, 24 Mar 2017 09:46:36 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:41996 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752767AbdCXNqT (ORCPT ); Fri, 24 Mar 2017 09:46:19 -0400 Date: Fri, 24 Mar 2017 09:46:07 -0400 From: Johannes Weiner To: "Kirill A. Shutemov" Cc: Andrew Morton , Michal Hocko , Vladimir Davydov , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH] mm: rmap: fix huge file mmap accounting in the memcg stats Message-ID: <20170324134607.GA9994@cmpxchg.org> References: <20170322005111.3156-1-hannes@cmpxchg.org> <20170324110755.evvbeetf44h72p43@node.shutemov.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170324110755.evvbeetf44h72p43@node.shutemov.name> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 579 Lines: 19 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 > > Sorry for missing that: > > Reviewed-by: Kirill A. Shutemov Thanks! > Do we want it into stable? > > Cc: [4.8+] Yep, that makes sense.