From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758710AbZBZWpJ (ORCPT ); Thu, 26 Feb 2009 17:45:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751891AbZBZWo5 (ORCPT ); Thu, 26 Feb 2009 17:44:57 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:43724 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750828AbZBZWo4 (ORCPT ); Thu, 26 Feb 2009 17:44:56 -0500 Date: Thu, 26 Feb 2009 14:43:01 -0800 (PST) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Oleg Nesterov cc: Roland McGrath , Andrew Morton , Alan Cox , Chris Evans , David Howells , Don Howard , Eugene Teo , Michael Kerrisk , Tavis Ormandy , Vitaly Mayatskikh , stable@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] copy_process: fix CLONE_PARENT && ->exit_signal interaction In-Reply-To: <20090226223031.GA14477@redhat.com> Message-ID: References: <20090225190211.GA7445@redhat.com> <20090225193927.1ED25FC3DA@magilla.sf.frob.com> <20090225212039.GA11883@redhat.com> <20090226215945.GA12520@redhat.com> <20090226223031.GA14477@redhat.com> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 Feb 2009, Oleg Nesterov wrote: > > But I can not understand that reason... As I said, the thread does not > go away if exit_signal == 0. Yes, the parent does not see it has a new > zombie, but why this is useful? Well, I know that people actually do this, because I found it in google code search. Maybe it was just a test program or something. So I didn't really care about "useful vs not", because I only care about "is it done vs not". People do tons of useless things. That's the only way to explain Dr Phil. Linus