From: KAMEZAWA Hiroyuki Subject: Re: [PATCH 07/12] memcg: always create memsw files if CONFIG_CGROUP_MEM_RES_CTLR_SWAP Date: Thu, 22 Mar 2012 09:23:10 +0900 Message-ID: <4F6A70EE.3050107@jp.fujitsu.com> References: <1332368265-21586-1-git-send-email-tj@kernel.org> <1332368265-21586-8-git-send-email-tj@kernel.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1332368265-21586-8-git-send-email-tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Tejun Heo Cc: glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org, lizf-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, fweisbec-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, rni-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, ctalbott-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org (2012/03/22 7:17), Tejun Heo wrote: > Instead of conditioning creation of memsw files on do_swap_account, > always create the files if compiled-in and fail read/write attempts > with -EOPNOTSUPP if !do_swap_account. > > This is suggested by KAMEZAWA to simplify memcg file creation so that > it can use cgroup->subsys_cftypes. > > Signed-off-by: Tejun Heo > Cc: KAMEZAWA Hiroyuki seems O.K. to me. Acked-by: KAMEZAWA Hiroyuki