From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933597AbdDFJAk (ORCPT ); Thu, 6 Apr 2017 05:00:40 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:33948 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752080AbdDFJAD (ORCPT ); Thu, 6 Apr 2017 05:00:03 -0400 Date: Thu, 6 Apr 2017 11:59:58 +0300 From: Vladimir Davydov To: Johannes Weiner Cc: Andrew Morton , Michal Hocko , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH 3/4] mm: memcontrol: re-use node VM page state enum Message-ID: <20170406085958.GC2268@esperanza> References: <20170404220148.28338-1-hannes@cmpxchg.org> <20170404220148.28338-3-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170404220148.28338-3-hannes@cmpxchg.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 04, 2017 at 06:01:47PM -0400, Johannes Weiner wrote: > The current duplication is a high-maintenance mess, and it's painful > to add new items or query memcg state from the rest of the VM. > > This increases the size of the stat array marginally, but we should > aim to track all these stats on a per-cgroup level anyway. > > Signed-off-by: Johannes Weiner Acked-by: Vladimir Davydov