From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail137.messagelabs.com (mail137.messagelabs.com [216.82.249.19]) by kanga.kvack.org (Postfix) with ESMTP id 508039000BD for ; Fri, 30 Sep 2011 03:46:48 -0400 (EDT) Received: by yxi19 with SMTP id 19so1770553yxi.14 for ; Fri, 30 Sep 2011 00:46:45 -0700 (PDT) Date: Fri, 30 Sep 2011 00:46:41 -0700 From: Tejun Heo Subject: Re: [patch] oom: thaw threads if oom killed thread is frozen before deferring Message-ID: <20110930074641.GK10425@mtj.dyndns.org> References: <65d9dff7ff78fad1f146e71d32f9f92741281b46.1317110948.git.mhocko@suse.cz> <20110928104445.GB15062@tiehlicka.suse.cz> <20110929115105.GE21113@tiehlicka.suse.cz> <20110929120517.GA10587@redhat.com> <20110929130204.GG21113@tiehlicka.suse.cz> <20110929163724.GA23773@redhat.com> <20110929180021.GA27999@tiehlicka.suse.cz> <20110930015148.GD10425@mtj.dyndns.org> <20110930074125.GB32134@tiehlicka.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110930074125.GB32134@tiehlicka.suse.cz> Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Oleg Nesterov , David Rientjes , Andrew Morton , Konstantin Khlebnikov , KOSAKI Motohiro , KAMEZAWA Hiroyuki , "Rafael J. Wysocki" , Rusty Russell , linux-kernel@vger.kernel.org, linux-mm@kvack.org Hello, On Fri, Sep 30, 2011 at 09:41:25AM +0200, Michal Hocko wrote: > > With pending freezer changes, allowing TIF_MEMDIE tasks to exit > > freezer by modifying freezing() shouldn't be difficult, which should > > be race-free and much simpler than diddling with thaw_task(). > > Will the rework help with the initial problem of unkillable OOM selected > frozen tasks or it will just help with other races that might be present > with the patch? In other words will this work deprecate the 2 patches > sent earlier in this thread? I think it shouldn't be difficult to allow OOM-killing frozen tasks. That should be good enough, right? > > How urgent is this? Can we wait for the next merge window? > > Yes, I think we can wait some more. I'm still processing rather large backlog. I'll ping you back once I sort out the pending freezer changes. Thanks. -- tejun -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org