From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [RFC][PATCH 5/7] cgroup: make sure parent won't be destroyed before its children Date: Thu, 4 Apr 2013 08:22:13 -0700 Message-ID: <20130404152213.GL9425@htj.dyndns.org> References: <515BF233.6070308@huawei.com> <515BF2A4.1070703@huawei.com> <20130404113750.GH29911@dhcp22.suse.cz> <20130404133706.GA9425@htj.dyndns.org> <20130404152028.GK29911@dhcp22.suse.cz> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=3LJU9qAcsH0tH1lPYQa5c0qIOZJCm5LeL250X91KJZM=; b=QCb7hcHCHhiGdN1a8VLNVK7SNThDSX3kige60R5QeV3ItuE/f7fcz93NPYNw0d886N KRt0rdfDzDncBJyYCXXva9WKyCMN1QmanHzB+aH3+7a/ScodJO2LxSnl6cdruw81Zqoo daxSmgtyppVSxNYQsuJADzum+lwnbkqbq5rimW8WllBIf4gg5Z6CR1LyevyPg+2AWdo0 pp62yPRMg/lfjvMxaIVuS7PviG6OTVZ3jbVgZxqGb9z/t/HyWLLX8xtoXFsrTxD58g2x bTHxTC7heWlmw1Z47hSoQfNGUr0xLAzGZUdpiXV9rwFO7EgN247BAhBQvdecEw+R10Bo DIDg== Content-Disposition: inline In-Reply-To: <20130404152028.GK29911-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Michal Hocko Cc: Li Zefan , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, LKML , Cgroups , Glauber Costa , KAMEZAWA Hiroyuki , Johannes Weiner On Thu, Apr 04, 2013 at 05:20:28PM +0200, Michal Hocko wrote: > > But what harm does an additional reference do? > > No harm at all. I just wanted to be sure that this is not yet another > "for memcg" hack. So if this is useful for other controllers then I have > no objections of course. I think it makes sense in general, so let's do it in cgroup core. I suppose it'd be easier for this to be routed together with other memcg changes? Thanks. -- tejun