From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH -v2 5/5] OOM, PM: make OOM detection in the freezer path raceless Date: Wed, 7 Jan 2015 13:41:24 -0500 Message-ID: <20150107184124.GI4395@htj.dyndns.org> References: <20141110163055.GC18373@dhcp22.suse.cz> <1417797707-31699-1-git-send-email-mhocko@suse.cz> <1417797707-31699-6-git-send-email-mhocko@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1417797707-31699-6-git-send-email-mhocko@suse.cz> Sender: linux-kernel-owner@vger.kernel.org To: Michal Hocko Cc: linux-mm@kvack.org, Andrew Morton , "\\\"Rafael J. Wysocki\\\"" , David Rientjes , Johannes Weiner , Oleg Nesterov , Cong Wang , LKML , linux-pm@vger.kernel.org List-Id: linux-pm@vger.kernel.org Hello, Michal. Sorry about the long delay. On Fri, Dec 05, 2014 at 05:41:47PM +0100, Michal Hocko wrote: ... > @@ -252,6 +220,8 @@ void thaw_kernel_threads(void) > { > struct task_struct *g, *p; > > + oom_killer_enable(); > + Wouldn't it be more symmetrical and make more sense to enable oom killer after kernel threads are thawed? Until kernel threads are thawed, it isn't guaranteed that oom killer would be able to make forward progress, right? Other than that, looks good to me. Thanks! -- tejun