Re: [PATCH 00/09] memcg: split-lru feature for memcg

KAMEZAWA Hiroyuki
2008-12-01T02:00:55Z

On Sun, 30 Nov 2008 19:54:08 +0900 (JST)
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> wrote:

> Recently, SplitLRU patch series dramatically improvement VM reclaim
> logic.
>
> it have following improvement.
> (1) splite lru per page type
> (2) introduce inactive/active anon balancing logic
> (3) introduce anon/file balancing logic
>
> Unfortunately, the improvement of memcgroup reclaim is incomplete.
> Currently, it only has (1), but doesn't have (2) and (3).
>
>
> This patch introduce (2) and (3) improvements to memcgroup.
> this implementation is straightforward porting from global reclaim.
>
> Therefere
> - code is simple.
> - memcg reclaim become efficiency as global reclaim.
> - the logic is the same as global lru.
> then, memcg reclaim debugging become easily.
>
>
> this patch series has three part
>
> [part 1: inactive-anon vs active-anon balancing improvement]
> [01/09] inactive_anon_is_low() move to vmscan.c
> [02/09] memcg: make inactive_anon_is_low()
>
> [part 2: anon vs file balancing improvement]
> [03/09] introduce zone_reclaim struct
> [04/09] memcg: make zone_reclaim_stat
> [05/09] make zone_nr_pages() helper function
> [06/09] make get_scan_ratio() to memcg awareness
> [07/09] memcg: remove mem_cgroup_calc_reclaim()
>
> [part 3: add split-lru related statics field to /cgroup/memory.stat]
> [08/09] memcg: show inactive_ratio
> [09/09] memcg: show reclaim stat
>
> patch against: mmotm 29 Nov 2008
>

Hi, kosaki. thank you for your work.

My request is
. split global-lru part and memcg part explicitly.

There are Nishimura's patch and my patch under development.
I may have to prepare weekly-update queue again.

Thanks,
-Kame