linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] memcg: split-lru feature for memcg take2
@ 2008-12-01 12:10 KOSAKI Motohiro
  2008-12-01 12:11 ` [PATCH 01/11] inactive_anon_is_low() move to vmscan.c KOSAKI Motohiro
                   ` (11 more replies)
  0 siblings, 12 replies; 29+ messages in thread
From: KOSAKI Motohiro @ 2008-12-01 12:10 UTC (permalink / raw)
  To: LKML, linux-mm, Andrew Morton, Balbir Singh, KAMEZAWA Hiroyuki,
	Rik van Riel
  Cc: kosaki.motohiro

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.



--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2008-12-04  7:15 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-01 12:10 [PATCH 00/11] memcg: split-lru feature for memcg take2 KOSAKI Motohiro
2008-12-01 12:11 ` [PATCH 01/11] inactive_anon_is_low() move to vmscan.c KOSAKI Motohiro
2008-12-01 12:12 ` [PATCH 02/11] introduce zone_reclaim struct KOSAKI Motohiro
2008-12-01 12:13 ` [PATCH 03/11] make zone_nr_pages() helper function KOSAKI Motohiro
2008-12-01 12:14 ` [PATCH 04/11] make get_scan_ratio() to memcg safe KOSAKI Motohiro
2008-12-01 14:50   ` Rik van Riel
2008-12-01 12:14 ` [PATCH 05/11] memcg: add null check to page_cgroup_zoneinfo() KOSAKI Motohiro
2008-12-01 14:52   ` Rik van Riel
2008-12-01 12:15 ` [PATCH 06/11] memcg: make inactive_anon_is_low() KOSAKI Motohiro
2008-12-03 13:52   ` Balbir Singh
2008-12-04  6:14     ` KOSAKI Motohiro
2008-12-01 12:16 ` [PATCH 07/11] memcg: make mem_cgroup_zone_nr_pages() KOSAKI Motohiro
2008-12-01 16:31   ` Rik van Riel
2008-12-03 13:58   ` Balbir Singh
2008-12-01 12:17 ` [PATCH 08/11] memcg: make zone_reclaim_stat KOSAKI Motohiro
2008-12-01 16:33   ` Rik van Riel
2008-12-03 14:06   ` Balbir Singh
2008-12-04  7:15     ` KOSAKI Motohiro
2008-12-01 12:18 ` [PATCH 09/11] memcg: remove mem_cgroup_calc_reclaim() KOSAKI Motohiro
2008-12-01 17:09   ` Rik van Riel
2008-12-01 12:19 ` [PATCH 10/11] memcg: show inactive_ratio KOSAKI Motohiro
2008-12-01 17:10   ` Rik van Riel
2008-12-02  9:05   ` KAMEZAWA Hiroyuki
2008-12-01 12:19 ` [PATCH 11/11] memcg: show reclaim_stat KOSAKI Motohiro
2008-12-01 17:11   ` Rik van Riel
2008-12-02  9:05   ` KAMEZAWA Hiroyuki
2008-12-03 14:19     ` Balbir Singh
2008-12-03 16:15       ` KAMEZAWA Hiroyuki
2008-12-02  4:25 ` [PATCH 00/11] memcg: split-lru feature for memcg take2 KAMEZAWA Hiroyuki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox