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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/29/2012 03:00 AM, KAMEZAWA Hiroyuki wrote:
On Mon, 27 Feb 2012 14:58:47 -0800
Suleiman Souhlal<ssouhlal@xxxxxxxxxxx>  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@xxxxxxxxxx>

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.


--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux