Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 15 Aug 2002 19:41:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 15 Aug 2002 19:41:55 -0400 Received: from mx2.elte.hu ([157.181.151.9]:24240 "HELO mx2.elte.hu") by vger.kernel.org with SMTP id ; Thu, 15 Aug 2002 19:41:54 -0400 Date: Fri, 16 Aug 2002 01:46:28 +0200 (CEST) From: Ingo Molnar Reply-To: Ingo Molnar To: Linus Torvalds Cc: Jamie Lokier , Subject: Re: [patch] user-vm-unlock-2.5.31-A2 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 712 Lines: 18 On Thu, 15 Aug 2002, Linus Torvalds wrote: > A thread library - maybe not. But the SETTID thing makes sense even for > a fork() user to avoid the fork/SIGCHLD race condition. In contrast, a > CLRTID does _not_ make sense in that situation, so I actually think they > are two separate issues (and should thus be two separate bits). okay. And it also makes sense for a newly forked task to know (and cache) its own PID, without having to call getpid() again. Ingo - 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/