Re: [patch 7/8] vmscan: memcg-aware unevictable page rescue scanner

Hiroyuki Kamezawa
2011-06-02T13:27:18Z

2011/6/1 Johannes Weiner <hannes@cmpxchg.org>:
> Once the per-memcg lru lists are exclusive, the unevictable page
> rescue scanner can no longer work on the global zone lru lists.
>
> This converts it to go through all memcgs and scan their respective
> unevictable lists instead.
>
> Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>

Hm, isn't it better to have only one GLOBAL LRU for unevictable pages ?
memcg only needs counter for unevictable pages and LRU is not necessary
to be per memcg because we don't reclaim it...

Thanks,
-Kame