[Devel] Re: [PATCH 04/10] memcg: Introduce __GFP_NOACCOUNT.

Glauber Costa glommer at parallels.com
Wed Feb 29 08:53:28 PST 2012


On 02/29/2012 03:00 AM, KAMEZAWA Hiroyuki wrote:
> On Mon, 27 Feb 2012 14:58:47 -0800
> Suleiman Souhlal<ssouhlal at FreeBSD.org>  wrote:
>
>> This is used to indicate that we don't want an allocation to be accounted
>> to the current cgroup.
>>
>> Signed-off-by: Suleiman Souhlal<suleiman at google.com>
>
> I don't like this.
>
> Please add
>
> ___GFP_ACCOUNT  "account this allocation to memcg"
>
> Or make this as slab's flag if this work is for slab allocation.
>
> Thanks,
> -Kame
>
>
+1.

This is enough to replace the registration I originally proposed, and I 
do think it'll do us good, despite the churn drawback of having to go 
patching stuff everywhere.





More information about the Devel mailing list