[Devel] Re: [PATCH v2 04/11] kmem accounting basic infrastructure

Christoph Lameter cl at linux.com
Wed Aug 15 10:26:25 PDT 2012


On Wed, 15 Aug 2012, Glauber Costa wrote:

> Remember we copy over the metadata and create copies of the caches
> per-memcg. Therefore, a dentry belongs to a memcg if it was allocated
> from the slab pertaining to that memcg.

The dentry could be used by other processes in the system though. F.e.
directory names could easily be created by one process and then used by a
multitude of others.

> It is not 100 % accurate, but it is good enough.

Lets hope that is true.




More information about the Devel mailing list