[Devel] Re: [PATCH v3 19/28] slab: per-memcg accounting of slab caches
Glauber Costa
glommer at parallels.com
Tue May 29 09:07:09 PDT 2012
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.
More information about the Devel
mailing list