Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964772AbWBFUZU (ORCPT ); Mon, 6 Feb 2006 15:25:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964773AbWBFUZU (ORCPT ); Mon, 6 Feb 2006 15:25:20 -0500 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:16769 "EHLO ebiederm.dsl.xmission.com") by vger.kernel.org with ESMTP id S964772AbWBFUZT (ORCPT ); Mon, 6 Feb 2006 15:25:19 -0500 To: Dave Hansen Cc: linux-kernel@vger.kernel.org, vserver@list.linux-vserver.org, Herbert Poetzl , "Serge E. Hallyn" , Alan Cox , 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 03/20] pid: Introduce a generic helper to test for init. References: <1139255772.6189.106.camel@localhost.localdomain> From: ebiederm@xmission.com (Eric W. Biederman) Date: Mon, 06 Feb 2006 13:22:18 -0700 In-Reply-To: <1139255772.6189.106.camel@localhost.localdomain> (Dave Hansen's message of "Mon, 06 Feb 2006 11:56:11 -0800") 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: 814 Lines: 22 Dave Hansen writes: > On Mon, 2006-02-06 at 12:29 -0700, Eric W. Biederman wrote: >> Introduce is_init to capture this case. >> >> With multiple pid spaces for all of the cases affected we are looking >> for only the first process on the system, not some other process that >> has pid == 1. > > If we have cases where each container has its own init (like vserver, > right?), will this naming get confusing? Will we have pseudo-init tasks > as well? Agreed. That is a potential issue. I couldn't think of a better name. Suggestions? 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/