[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120206190627.7313ff82.kamezawa.hiroyu@jp.fujitsu.com>
Date: Mon, 6 Feb 2012 19:06:27 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: "linux-mm@...ck.org" <linux-mm@...ck.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"hannes@...xchg.org" <hannes@...xchg.org>,
Michal Hocko <mhocko@...e.cz>, Ying Han <yinghan@...gle.com>,
Hugh Dickins <hughd@...gle.com>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>
Subject: [RFC] [PATCH 0/6 v3] memcg: page cgroup diet
Here is my page_cgroup diet series v3. Since v2, "remove PCG_CACHE" is alread
merged.
This series changes page-stat-accounting per memcg
from:
if (change page's state)
mem_cgroup_update_page_state()
to:
mem_cgroup_begin_update_page_state()
if (change page's state)
mem_cgroup_update_page_state()
mem_cgroup_end_update_page_state()
(see patch 4 for details.) This allows us not to duplicate page struct's
information in page_cgroup's flag field.
Because above sequence adds 2 extra calls to hot-path, performance will be problem.
Patch 6 is a fix for performance, and I don't see performance regression in my
small test. (see patch 6 for details.)
Thanks,
-Kame
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists