Re: On shrinkable caches

2016-06-23 Thread Nikolay Borisov
On 06/23/2016 12:43 PM, David Sterba wrote: > On Mon, Jun 20, 2016 at 02:26:12PM +0300, Nikolay Borisov wrote: >> I have a question regarding the SLAB_RECLAIM_ACCOUNT flag with which >> BTRFS caches are created. Currently there isn't a single usage of >> register_shrinker under fs/btrfs. > >

Re: On shrinkable caches

2016-06-23 Thread David Sterba
On Mon, Jun 20, 2016 at 02:26:12PM +0300, Nikolay Borisov wrote: > I have a question regarding the SLAB_RECLAIM_ACCOUNT flag with which > BTRFS caches are created. Currently there isn't a single usage of > register_shrinker under fs/btrfs. The SLAB_RECLAIM_ACCOUNT flag has been there since the

On shrinkable caches

2016-06-20 Thread Nikolay Borisov
Hello, I have a question regarding the SLAB_RECLAIM_ACCOUNT flag with which BTRFS caches are created. Currently there isn't a single usage of register_shrinker under fs/btrfs. Apart from the inode cache which is being shrunk from the generic super_cache_scan I don't think the memory used for