Re: [PATCH v2 5/6] vmalloc: allow to account vmalloc to memcg

From: Johannes Weiner
Date: Thu Nov 19 2015 - 14:05:15 EST

On Tue, Nov 10, 2015 at 09:34:06PM +0300, Vladimir Davydov wrote:
> This patch makes vmalloc family functions allocate vmalloc area pages
> with alloc_kmem_pages so that if __GFP_ACCOUNT is set they will be
> accounted to memcg. This is needed, at least, to account alloc_fdmem
> allocations.
> Signed-off-by: Vladimir Davydov <vdavydov@xxxxxxxxxxxxx>

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at