Re: [PATCH v13 09/16] fs: consolidate {nr,free}_cached_objects args in shrink_control

2013-12-09 Thread Dave Chinner
On Mon, Dec 09, 2013 at 12:05:50PM +0400, Vladimir Davydov wrote: > We are going to make the FS shrinker memcg-aware. To achieve that, we > will have to pass the memcg to scan to the nr_cached_objects and > free_cached_objects VFS methods, which currently take only the NUMA node > to scan. Since th

[PATCH v13 09/16] fs: consolidate {nr,free}_cached_objects args in shrink_control

2013-12-09 Thread Vladimir Davydov
We are going to make the FS shrinker memcg-aware. To achieve that, we will have to pass the memcg to scan to the nr_cached_objects and free_cached_objects VFS methods, which currently take only the NUMA node to scan. Since the shrink_control structure already holds the node, and the memcg to scan w