Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933521Ab0FCGko (ORCPT ); Thu, 3 Jun 2010 02:40:44 -0400 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:55400 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932769Ab0FCGkm (ORCPT ); Thu, 3 Jun 2010 02:40:42 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Thu, 3 Jun 2010 15:36:23 +0900 From: KAMEZAWA Hiroyuki To: KOSAKI Motohiro Cc: "Luis Claudio R. Goncalves" , LKML , linux-mm , Oleg Nesterov , David Rientjes , Andrew Morton , Nick Piggin Subject: Re: [PATCH 09/12] oom: remove PF_EXITING check completely Message-Id: <20100603153623.40875640.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20100603152436.7262.A69D9226@jp.fujitsu.com> References: <20100603135106.7247.A69D9226@jp.fujitsu.com> <20100603152436.7262.A69D9226@jp.fujitsu.com> Organization: FUJITSU Co. LTD. X-Mailer: Sylpheed 3.0.2 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 890 Lines: 24 On Thu, 3 Jun 2010 15:25:18 +0900 (JST) KOSAKI Motohiro wrote: > Currently, PF_EXITING check is completely broken. because 1) It only > care main-thread and ignore sub-threads 2) If user enable core-dump > feature, it can makes deadlock because the task during coredump ignore > SIGKILL. > > The deadlock is certenaly worst result, then, minor PF_EXITING > optimization worth is relatively ignorable. > > This patch removes it. > > Signed-off-by: KOSAKI Motohiro > Acked-by: Oleg Nesterov Reviewed-by: KAMEZAWA Hiroyuki -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/