Re: [PATCH v2 05/12] fs: Propagate shrinker::id to list_lru

2018-04-22 Thread Vladimir Davydov
On Tue, Apr 17, 2018 at 09:53:47PM +0300, Kirill Tkhai wrote: > The patch adds list_lru::shrinker_id field, and populates > it by registered shrinker id. > > This will be used to set correct bit in memcg shrinkers > map by lru code in next patches, after there appeared > the first related to memcg

[PATCH v2 05/12] fs: Propagate shrinker::id to list_lru

2018-04-17 Thread Kirill Tkhai
The patch adds list_lru::shrinker_id field, and populates it by registered shrinker id. This will be used to set correct bit in memcg shrinkers map by lru code in next patches, after there appeared the first related to memcg element in list_lru. Signed-off-by: Kirill Tkhai --- fs/super.c