Messages in this thread | | | Date | Wed, 15 Aug 2012 18:25:04 +0000 | From | Christoph Lameter <> | Subject | Re: [PATCH v2 04/11] kmem accounting basic infrastructure |
| |
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.
| |