Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758506Ab2FZH00 (ORCPT ); Tue, 26 Jun 2012 03:26:26 -0400 Received: from mx2.parallels.com ([64.131.90.16]:54328 "EHLO mx2.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758372Ab2FZH0Z (ORCPT ); Tue, 26 Jun 2012 03:26:25 -0400 Message-ID: <4FE9637F.3050500@parallels.com> Date: Tue, 26 Jun 2012 11:23:43 +0400 From: Glauber Costa User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Andrew Morton CC: David Rientjes , , , , Frederic Weisbecker , Pekka Enberg , Michal Hocko , Johannes Weiner , Christoph Lameter , , , Tejun Heo , Pekka Enberg , Suleiman Souhlal Subject: Re: [PATCH 09/11] memcg: propagate kmem limiting information to children 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> <20120625223136.86ebee05.akpm@linux-foundation.org> In-Reply-To: <20120625223136.86ebee05.akpm@linux-foundation.org> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [109.173.9.3] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 619 Lines: 22 On 06/26/2012 09:31 AM, Andrew Morton wrote: > 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. > enum it will be. -- 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/