[Devel] Re: [PATCH v2 04/11] kmem accounting basic infrastructure
Christoph Lameter
cl at linux.com
Wed Aug 15 11:25:04 PDT 2012
On Wed, 15 Aug 2012, Ying Han wrote:
> > How can you figure out which objects belong to which memcg? The ownerships
> > of dentries and inodes is a dubious concept already.
>
> I figured it out based on the kernel slab accounting.
> obj->page->kmem_cache->memcg
Well that is only the memcg which allocated it. It may be in use heavily
by other processes.
More information about the Devel
mailing list