From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754108AbdBVENI (ORCPT ); Tue, 21 Feb 2017 23:13:08 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:35238 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752917AbdBVEM7 (ORCPT ); Tue, 21 Feb 2017 23:12:59 -0500 From: Balbir Singh X-Google-Original-From: Balbir Singh Date: Wed, 22 Feb 2017 15:12:50 +1100 To: Johannes Weiner Cc: Andrew Morton , Michal Hocko , Vladimir Davydov , Chris Down , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH] mm: memcontrol: provide shmem statistics Message-ID: <20170222041250.GA9967@balbir.ozlabs.ibm.com> References: <20170221164343.32252-1-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170221164343.32252-1-hannes@cmpxchg.org> User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 21, 2017 at 11:43:43AM -0500, Johannes Weiner wrote: > Cgroups currently don't report how much shmem they use, which can be > useful data to have, in particular since shmem is included in the > cache/file item while being reclaimed like anonymous memory. > > Add a counter to track shmem pages during charging and uncharging. > > Reported-by: Chris Down > Signed-off-by: Johannes Weiner > --- Makes sense Acked-by: Balbir Singh