[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F6A71F8.1060808@jp.fujitsu.com>
Date: Thu, 22 Mar 2012 09:27:36 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: Tejun Heo <tj@...nel.org>
CC: glommer@...allels.com, lizf@...fujitsu.com,
containers@...ts.linux-foundation.org, cgroups@...r.kernel.org,
linux-kernel@...r.kernel.org, fweisbec@...il.com, rni@...gle.com,
ctalbott@...gle.com, Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...e.cz>,
Balbir Singh <bsingharora@...il.com>,
Hugh Dickins <hughd@...gle.com>,
Greg Thelen <gthelen@...gle.com>
Subject: Re: [PATCH 08/12] cgroup: convert memcg controller to the new cftype
interface
(2012/03/22 7:17), Tejun Heo wrote:
> Convert memcg to use the new cftype based interface. kmem support
> abuses ->populate() for mem_cgroup_sockets_init() so it can't be
> removed at the moment.
>
> tcp_memcontrol is updated so that tcp_files[] is registered via a
> __initcall. This change also allows removing the forward declaration
> of tcp_files[]. Removed.
>
> Signed-off-by: Tejun Heo <tj@...nel.org>
> Cc: Johannes Weiner <hannes@...xchg.org>
> Cc: Michal Hocko <mhocko@...e.cz>
> Cc: Balbir Singh <bsingharora@...il.com>
> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
> Cc: Glauber Costa <glommer@...allels.com>
> Cc: Hugh Dickins <hughd@...gle.com>
> Cc: Greg Thelen <gthelen@...gle.com>
Ok, then, files will be created by cgroup core not by memcg.
base_cftypes seems very good.
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Thank you.
--
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