From: Johannes Weiner <jweiner@redhat.com> To: Andrew Morton <akpm@linux-foundation.org> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>, Michal Hocko <mhocko@suse.cz>, "Kirill A. Shutemov" <kirill@shutemov.name>, Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>, Balbir Singh <bsingharora@gmail.com>, Ying Han <yinghan@google.com>, Greg Thelen <gthelen@google.com>, Michel Lespinasse <walken@google.com>, Rik van Riel <riel@redhat.com>, Minchan Kim <minchan.kim@gmail.com>, Christoph Hellwig <hch@infradead.org>, Hugh Dickins <hughd@google.com>, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [patch 00/10] memcg naturalization -rc5 Date: Tue, 8 Nov 2011 22:23:18 +0100 [thread overview] Message-ID: <1320787408-22866-1-git-send-email-jweiner@redhat.com> (raw) 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(-)
WARNING: multiple messages have this Message-ID (diff)
From: Johannes Weiner <jweiner@redhat.com> To: Andrew Morton <akpm@linux-foundation.org> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>, Michal Hocko <mhocko@suse.cz>, "Kirill A. Shutemov" <kirill@shutemov.name>, Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>, Balbir Singh <bsingharora@gmail.com>, Ying Han <yinghan@google.com>, Greg Thelen <gthelen@google.com>, Michel Lespinasse <walken@google.com>, Rik van Riel <riel@redhat.com>, Minchan Kim <minchan.kim@gmail.com>, Christoph Hellwig <hch@infradead.org>, Hugh Dickins <hughd@google.com>, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [patch 00/10] memcg naturalization -rc5 Date: Tue, 8 Nov 2011 22:23:18 +0100 [thread overview] Message-ID: <1320787408-22866-1-git-send-email-jweiner@redhat.com> (raw) 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, 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2011-11-08 21:25 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-11-08 21:23 Johannes Weiner [this message] 2011-11-08 21:23 ` [patch 00/10] memcg naturalization -rc5 Johannes Weiner 2011-11-08 21:23 ` [patch 01/10] mm: memcg: consolidate hierarchy iteration primitives Johannes Weiner 2011-11-08 21:23 ` Johannes Weiner 2011-11-08 21:23 ` [patch 02/10] mm: vmscan: distinguish global reclaim from global LRU scanning Johannes Weiner 2011-11-08 21:23 ` Johannes Weiner 2011-11-08 21:23 ` [patch 03/10] mm: vmscan: distinguish between memcg triggering reclaim and memcg being scanned Johannes Weiner 2011-11-08 21:23 ` Johannes Weiner 2011-11-08 21:23 ` [patch 04/10] mm: memcg: per-priority per-zone hierarchy scan generations Johannes Weiner 2011-11-08 21:23 ` Johannes Weiner 2011-11-08 21:23 ` [patch 05/10] mm: move memcg hierarchy reclaim to generic reclaim code Johannes Weiner 2011-11-08 21:23 ` Johannes Weiner 2011-11-08 21:23 ` [patch 06/10] mm: memcg: remove optimization of keeping the root_mem_cgroup LRU lists empty Johannes Weiner 2011-11-08 21:23 ` Johannes Weiner 2011-11-08 21:23 ` [patch 07/10] mm: vmscan: convert global reclaim to per-memcg LRU lists Johannes Weiner 2011-11-08 21:23 ` Johannes Weiner 2011-11-08 21:23 ` [patch 08/10] mm: collect LRU list heads into struct lruvec Johannes Weiner 2011-11-08 21:23 ` Johannes Weiner 2011-11-08 21:23 ` [patch 09/10] mm: make per-memcg LRU lists exclusive Johannes Weiner 2011-11-08 21:23 ` Johannes Weiner 2011-11-08 21:23 ` [patch 10/10] mm: memcg: remove unused node/section info from pc->flags Johannes Weiner 2011-11-08 21:23 ` Johannes Weiner 2011-11-09 5:18 ` [PATCH mm] mm: memcg: remove unused node/section info from pc->flags fix Hugh Dickins 2011-11-09 5:18 ` Hugh Dickins 2011-11-09 5:27 ` KAMEZAWA Hiroyuki 2011-11-09 5:27 ` KAMEZAWA Hiroyuki 2011-11-09 13:14 ` Johannes Weiner 2011-11-09 13:14 ` Johannes Weiner 2011-11-09 0:05 ` [patch 00/10] memcg naturalization -rc5 KAMEZAWA Hiroyuki 2011-11-09 0:05 ` KAMEZAWA Hiroyuki
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1320787408-22866-1-git-send-email-jweiner@redhat.com \ --to=jweiner@redhat.com \ --cc=akpm@linux-foundation.org \ --cc=bsingharora@gmail.com \ --cc=gthelen@google.com \ --cc=hch@infradead.org \ --cc=hughd@google.com \ --cc=kamezawa.hiroyu@jp.fujitsu.com \ --cc=kirill@shutemov.name \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mm@kvack.org \ --cc=mhocko@suse.cz \ --cc=minchan.kim@gmail.com \ --cc=nishimura@mxp.nes.nec.co.jp \ --cc=riel@redhat.com \ --cc=walken@google.com \ --cc=yinghan@google.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.