Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757597Ab0BCT3h (ORCPT ); Wed, 3 Feb 2010 14:29:37 -0500 Received: from verein.lst.de ([213.95.11.210]:53242 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757095Ab0BCT3e (ORCPT ); Wed, 3 Feb 2010 14:29:34 -0500 Date: Wed, 3 Feb 2010 20:28:35 +0100 From: Christoph Hellwig To: Oleg Nesterov Cc: Christoph Hellwig , Haavard Skinnemoen , roland@redhat.com, akpm@linux-foundation.org, hskinnemoen@atmel.com, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH 4/14] avr32: use generic ptrace_resume code Message-ID: <20100203192835.GA25603@lst.de> References: <20100202185755.GA3630@lst.de> <20100202185857.GD3630@lst.de> <20100203084737.6e01247b@siona> <20100203083611.GA29025@lst.de> <20100203192223.GA12039@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100203192223.GA12039@redhat.com> User-Agent: Mutt/1.3.28i X-Spam-Score: 0 () Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 986 Lines: 23 On Wed, Feb 03, 2010 at 08:22:23PM +0100, Oleg Nesterov wrote: > On 02/03, Christoph Hellwig wrote: > > > > I don't think the flag clearing on PTRACE_KILL matters as the process > > is a zombie and almost gone anyway, it's more an artefact of the > > generic implementation that I wanted to mention. > > Well, PTRACE_KILL doesn't necessarily kill the tracee. Only if the > tracee reported the signal or syscall, otherwise ->exit_code is > ignored. > > OTOH I agree, probably the flag clearing on PTRACE_KILL doesn't > really matter beause PTRACE_KILL shouldn't be used at all. You're right of course. When writing the above I somehow had a mental picture of only the EXIT_ZOMBIE case, but we're not even clearing the flag in that case. -- 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/