[Devel] Re: [PATCH v2 05/11] Add a __GFP_KMEMCG flag
Kamezawa Hiroyuki
kamezawa.hiroyu at jp.fujitsu.com
Fri Aug 10 10:07:31 PDT 2012
(2012/08/09 22:01), Glauber Costa wrote:
> This flag is used to indicate to the callees that this allocation is a
> kernel allocation in process context, and should be accounted to
> current's memcg. It takes numerical place of the of the recently removed
> __GFP_NO_KSWAPD.
>
> Signed-off-by: Glauber Costa <glommer at parallels.com>
> CC: Christoph Lameter <cl at linux.com>
> CC: Pekka Enberg <penberg at cs.helsinki.fi>
> CC: Michal Hocko <mhocko at suse.cz>
> CC: Kamezawa Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
> CC: Johannes Weiner <hannes at cmpxchg.org>
> CC: Suleiman Souhlal <suleiman at google.com>
> CC: Rik van Riel <riel at redhat.com>
> CC: Mel Gorman <mel at csn.ul.ie>
Okay, so, only memcg-aware allocations are accounted.
It seems a safe way to go.
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
More information about the Devel
mailing list