From mboxrd@z Thu Jan 1 00:00:00 1970 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 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx148.postini.com [74.125.245.148]) by kanga.kvack.org (Postfix) with SMTP id AAFFB6B0154 for ; Tue, 26 Jun 2012 03:26:26 -0400 (EDT) Message-ID: <4FE9637F.3050500@parallels.com> Date: Tue, 26 Jun 2012 11:23:43 +0400 From: Glauber Costa MIME-Version: 1.0 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 Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: David Rientjes , 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 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org 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.