Messages in this thread | | | Date | Wed, 15 Aug 2012 15:36:28 +0000 | From | Christoph Lameter <> | Subject | Re: [PATCH v2 04/11] kmem accounting basic infrastructure |
| |
On Wed, 15 Aug 2012, Greg Thelen wrote:
> > You can already shrink the reclaimable slabs (dentries / inodes) via > > calls to the subsystem specific shrinkers. Did Ying Han do anything to > > go beyond that? > > cc: Ying > > The Google shrinker patches enhance prune_dcache_sb() to limit dentry > pressure to a specific memcg.
Ok then its restricted to the reclaimable slab caches already. The main issue to sort out then is who is the "owner" of an inode/dentry (if something like that exists). If you separate the objects into different pages then the objects may be cleanly separated at the price of more memory use.
| |