[patch 00/10] memcg naturalization -rc5

From: Johannes Weiner
Date: Tue Nov 08 2011 - 16:25:48 EST


This is version 5 of the memcg naturalization patches.

They enable traditional page reclaim to find pages from the per-memcg
LRU lists, thereby getting rid of the double-LRU scheme (per global
zone in addition to per memcg-zone) and the required extra list head
per each page in the system.

The only change from version 4 is using the name `memcg' instead of
`mem' for memcg pointers in code added in the series.

This series is based on v3.2-rc1.

memcg users and distributions are waiting for this because of the
memory savings. The changes for regular users that do not create
memcgs in addition to the root memcg are minimal, and even smaller for
users that disable the memcg feature at compile time. Lastly, ongoing
memcg development, like the breaking up of zone->lru_lock, fixing the
soft limit implementation/memory guarantees and per-memcg reclaim
statistics, is already based on this.

Thanks!

include/linux/memcontrol.h | 73 +++--
include/linux/mm_inline.h | 21 +-
include/linux/mmzone.h | 10 +-
include/linux/page_cgroup.h | 34 ---
mm/memcontrol.c | 693 ++++++++++++++++++++-----------------------
mm/page_alloc.c | 2 +-
mm/page_cgroup.c | 58 +----
mm/swap.c | 24 +-
mm/vmscan.c | 389 +++++++++++++++----------
9 files changed, 643 insertions(+), 661 deletions(-)

--
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/