Re: [PATCH v3 19/28] slab: per-memcg accounting of slab caches

From: Glauber Costa
Date: Tue May 29 2012 - 12:09:23 EST


On 05/29/2012 06:52 PM, Christoph Lameter wrote:
On Fri, 25 May 2012, Glauber Costa wrote:

> This patch charges allocation of a slab object to a particular
> memcg.
Ok so a requirement is to support tracking of individual slab
objects to cgroups? That is going to be quite expensive since it will
touch the hotpaths.


No, we track pages. But all the objects in the page belong to the same cgroup.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/