Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964798AbWBFUb5 (ORCPT ); Mon, 6 Feb 2006 15:31:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964804AbWBFUb4 (ORCPT ); Mon, 6 Feb 2006 15:31:56 -0500 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:24193 "EHLO ebiederm.dsl.xmission.com") by vger.kernel.org with ESMTP id S964801AbWBFUbe (ORCPT ); Mon, 6 Feb 2006 15:31:34 -0500 To: "Serge E. Hallyn" Cc: linux-kernel@vger.kernel.org, vserver@list.linux-vserver.org, Herbert Poetzl , Alan Cox , Dave Hansen , Arjan van de Ven , Suleiman Souhlal , Hubertus Franke , Cedric Le Goater , Kyle Moffett , Kirill Korotaev , Greg , Linus Torvalds , Andrew Morton , Greg KH , Rik van Riel , Alexey Kuznetsov , Andrey Savochkin , Kirill Korotaev , Andi Kleen , Benjamin Herrenschmidt , Jeff Garzik , Trond Myklebust , Jes Sorensen Subject: Re: [RFC][PATCH 01/20] pid: Intoduce the concept of a wid (wait id) References: <20060206195427.GH11887@sergelap.austin.ibm.com> From: ebiederm@xmission.com (Eric W. Biederman) Date: Mon, 06 Feb 2006 13:23:48 -0700 In-Reply-To: <20060206195427.GH11887@sergelap.austin.ibm.com> (Serge E. Hallyn's message of "Mon, 6 Feb 2006 13:54:27 -0600") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) 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: 970 Lines: 26 "Serge E. Hallyn" writes: > Quoting Eric W. Biederman (ebiederm@xmission.com): >> >> The wait id is the pid returned by wait. For tasks that span 2 >> namespaces (i.e. the process leaders of the pid namespaces) their >> parent knows the task by a different PID value than the task knows >> itself. Having a child with PID == 1 would be confusing. > > Is it possible here to have wid conflicts? > > Does that matter? > > Looking at sysvinit, it seems that it does. If the wid happens > to conflict with the pid of one of the children init knows about, > it could confuse init. No. The wid is in the pspace of the parent, and the pid is in the processes pspace. Add is in any pspace are unique. Eric - 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/