From mboxrd@z Thu Jan 1 00:00:00 1970 From: KAMEZAWA Hiroyuki Subject: Re: [PATCH 08/12] cgroup: convert memcg controller to the new cftype interface Date: Thu, 22 Mar 2012 09:27:36 +0900 Message-ID: <4F6A71F8.1060808@jp.fujitsu.com> References: <1332368265-21586-1-git-send-email-tj@kernel.org> <1332368265-21586-9-git-send-email-tj@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1332368265-21586-9-git-send-email-tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Tejun Heo Cc: ctalbott-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, rni-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, fweisbec-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Michal Hocko , Hugh Dickins , Johannes Weiner , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: containers.vger.kernel.org (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 > Cc: Johannes Weiner > Cc: Michal Hocko > Cc: Balbir Singh > Cc: KAMEZAWA Hiroyuki > Cc: Glauber Costa > Cc: Hugh Dickins > Cc: Greg Thelen Ok, then, files will be created by cgroup core not by memcg. base_cftypes seems very good. Acked-by: KAMEZAWA Hiroyuki Thank you.