From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262608AbTLNVHw (ORCPT ); Sun, 14 Dec 2003 16:07:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262580AbTLNVHo (ORCPT ); Sun, 14 Dec 2003 16:07:44 -0500 Received: from mx1.elte.hu ([157.181.1.137]:49284 "EHLO mx1.elte.hu") by vger.kernel.org with ESMTP id S262569AbTLNVHn (ORCPT ); Sun, 14 Dec 2003 16:07:43 -0500 Date: Sun, 14 Dec 2003 22:06:56 +0100 (CET) From: Ingo Molnar Reply-To: Ingo Molnar To: Linus Torvalds Cc: Petr Vandrovec , Kernel Mailing List , Andrew Morton , Roland McGrath Subject: Re: [patch] Re: Problem with exiting threads under NPTL In-Reply-To: Message-ID: References: <20031214052516.GA313@vana.vc.cvut.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-ELTE-SpamVersion: SpamAssassin ELTE 1.0 X-ELTE-VirusStatus: clean X-ELTE-SpamCheck: no X-ELTE-SpamCheck-Details: score=-4.9, required 5.9, BAYES_00 -4.90 X-ELTE-SpamLevel: X-ELTE-SpamScore: -4 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 14 Dec 2003, Linus Torvalds wrote: > That code looks fragile as hell. I think you fixed a bug and it might be > the absolutely proper fix, but I'd be happier about it if it was more > obvious what the rules are and _why_ that is the only case that > matters.. agreed, and we had a fair number of bugs in this area already. But i dont know whether (or how) it could be made simpler - i think most of the ugliness is a reflexion of the POSIX semantics. (combined with ptrace complexities.) Ingo