From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Costa Subject: Re: [PATCH 09/11] memcg: propagate kmem limiting information to children Date: Tue, 26 Jun 2012 11:23:43 +0400 Message-ID: <4FE9637F.3050500@parallels.com> 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> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120625223136.86ebee05.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Andrew Morton Cc: David Rientjes , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Frederic Weisbecker , Pekka Enberg , Michal Hocko , Johannes Weiner , Christoph Lameter , devel-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org, kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org, Tejun Heo , Pekka Enberg , Suleiman Souhlal 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.