From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933294Ab1KBQAU (ORCPT ); Wed, 2 Nov 2011 12:00:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1025 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932383Ab1KBQAR (ORCPT ); Wed, 2 Nov 2011 12:00:17 -0400 Date: Wed, 2 Nov 2011 16:55:05 +0100 From: Oleg Nesterov To: Tejun Heo Cc: trisha yad , linux-mm , Russell King - ARM Linux , linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, kamezawa.hiroyu@jp.fujitsu.com, mhocko@suse.cz, rientjes@google.com, Andrew Morton , Konstantin Khlebnikov , KOSAKI Motohiro , "Rafael J. Wysocki" , Rusty Russell Subject: Re: Issue with core dump Message-ID: <20111102155505.GA30500@redhat.com> References: <20111101152320.GA30466@redhat.com> <20111102153146.GC12543@dhcp-172-17-108-109.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111102153146.GC12543@dhcp-172-17-108-109.mtv.corp.google.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/02, Tejun Heo wrote: > > Also, the time between do_user_fault() and actual core dumping isn't > the important factor here. do_user_fault() directly triggers delivery > of SIGSEGV (or BUS) and signal delivery will immediately deliver > SIGKILL to all other threads in the process, Not really, note the "if (!sig_kernel_coredump(sig))" check. And this is what we can improve. But this is not simple, and personally I think doesn't worth the trouble. Oleg.