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

From: KAMEZAWA Hiroyuki
Date: Mon Dec 01 2008 - 23:26:34 EST


On Mon, 1 Dec 2008 21:10:59 +0900 (JST)
KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> 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 five part.
>
> [part 1: global lru clean up]
> [PATCH 01/11] inactive_anon_is_low() move to vmscan.c
> [PATCH 02/11] introduce zone_reclaim struct
> [PATCH 03/11] make zone_nr_pages() helper function
> [PATCH 04/11] make get_scan_ratio() to memcg safe
>
> [part 2: memcg: trivial fix]
> [PATCH 05/11] memcg: add null check to page_cgroup_zoneinfo()
>
> [part 3: memcg: inactive-anon vs active-anon balancing improvement]
> [PATCH 06/11] memcg: make inactive_anon_is_low()
>
> [part 4: anon vs file balancing improvement]
> [PATCH 07/11] memcg: make mem_cgroup_zone_nr_pages()
> [PATCH 08/11] memcg: make zone_reclaim_stat
> [PATCH 09/11] memcg: remove mem_cgroup_calc_reclaim()
>
> [part 5: add split-lru related statics field to /cgroup/memory.stat]
> [PATCH 10/11] memcg: show inactive_ratio
> [PATCH 11/11] memcg: show reclaim_stat
>
>
> patch against: mmotm 29 Nov 2008
>
> Andrew, could you please pick 01-04 up to -mm?
> 01-04 don't have any behavior change.
> kamezawwa-san queue 05-11 to his memcg queueue awhile.
>

Thanks, I'll try weekly update queue for memcg.
(includes 01-04 if necessary)

-Kame



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/