Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757435Ab2FZFak (ORCPT ); Tue, 26 Jun 2012 01:30:40 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:51217 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756593Ab2FZFai (ORCPT ); Tue, 26 Jun 2012 01:30:38 -0400 Date: Mon, 25 Jun 2012 22:31:36 -0700 From: Andrew Morton To: David Rientjes Cc: Glauber Costa , cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Frederic Weisbecker , Pekka Enberg , Michal Hocko , Johannes Weiner , Christoph Lameter , devel@openvz.org, kamezawa.hiroyu@jp.fujitsu.com, Tejun Heo , Pekka Enberg , Suleiman Souhlal Subject: Re: [PATCH 09/11] memcg: propagate kmem limiting information to children Message-Id: <20120625223136.86ebee05.akpm@linux-foundation.org> In-Reply-To: References: <1340633728-12785-1-git-send-email-glommer@parallels.com> <1340633728-12785-10-git-send-email-glommer@parallels.com> <20120625162352.51997c5a.akpm@linux-foundation.org> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.9; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 549 Lines: 16 On Mon, 25 Jun 2012 22:24:44 -0700 (PDT) David Rientjes wrote: > > > +#define KMEM_ACCOUNTED_THIS 0 > > > +#define KMEM_ACCOUNTED_PARENT 1 > > > > And then document the fields here. > > > > In hex, please? Well, they're bit numbers, not masks. Decimal 0-31 is OK, or an enum. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/