LWN.net Logo

memcg: update patch set v7

From:  KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To:  "linux-mm@kvack.org" <linux-mm@kvack.org>
Subject:  [PATCH] memcg: update patch set v7
Date:  Tue, 7 Oct 2008 19:01:21 +0900
Message-ID:  <20081007190121.d96e58a6.kamezawa.hiroyu@jp.fujitsu.com>
Cc:  "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "balbir@linux.vnet.ibm.com" <balbir@linux.vnet.ibm.com>, "nishimura@mxp.nes.nec.co.jp" <nishimura@mxp.nes.nec.co.jp>, "akpm@linux-foundation.org" <akpm@linux-foundation.org>
Archive-link:  Article, Thread

Hi, Andrew. please allow me to test under -mm if ok.

This series is against the newest -mmotm(stamp-2008-10-02-16-17)
and I think ready-to-go.

All comments are reflected.
(and CONFIG_CGROUP_MEM_RES_CTLR=n case is fixed.)

Including following patches.

[1/6] ... account swap cache under lock
[2/6] ... set page->mapping to be NULL before uncharge
[3/6] ... avoid to account not-on-LRU pages.
[4/6] ... optimize per cpu statistics on memcg.
[5/6] ... make page_cgroup->flags atomic.
[6/6] ... allocate page_cgroup at boot.

I did tests I can. But I think patch 6/6 needs wider testers.
It has some dependency to configs/archs.

(*) the newest mmotm needs some patches to be driven.

Thanks,
-Kame


Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds