From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx158.postini.com [74.125.245.158]) by kanga.kvack.org (Postfix) with SMTP id B91D46B0002 for ; Tue, 5 Feb 2013 13:01:34 -0500 (EST) Date: Tue, 5 Feb 2013 13:01:16 -0500 From: Johannes Weiner Subject: Re: [PATCH 1/3] memcg: move mem_cgroup_soft_limit_tree_init to mem_cgroup_init Message-ID: <20130205180116.GA993@cmpxchg.org> References: <1360081441-1960-1-git-send-email-mhocko@suse.cz> <1360081441-1960-2-git-send-email-mhocko@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1360081441-1960-2-git-send-email-mhocko@suse.cz> Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Andrew Morton , KAMEZAWA Hiroyuki , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Tejun Heo On Tue, Feb 05, 2013 at 05:23:59PM +0100, Michal Hocko wrote: > Per-node-zone soft limit tree is currently initialized when the root > cgroup is created which is OK but it pointlessly pollutes memcg > allocation code with something that can be called when the memcg > subsystem is initialized by mem_cgroup_init along with other controller > specific parts. > > While we are at it let's make mem_cgroup_soft_limit_tree_init void > because it doesn't make much sense to report memory failure because if > we fail to allocate memory that early during the boot then we are > screwed anyway (this saves some code). > > Signed-off-by: Michal Hocko Acked-by: Johannes Weiner -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org