Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750948AbWBUXXS (ORCPT ); Tue, 21 Feb 2006 18:23:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750961AbWBUXXS (ORCPT ); Tue, 21 Feb 2006 18:23:18 -0500 Received: from MAIL.13thfloor.at ([212.16.62.50]:41866 "EHLO mail.13thfloor.at") by vger.kernel.org with ESMTP id S1750948AbWBUXXR (ORCPT ); Tue, 21 Feb 2006 18:23:17 -0500 Date: Wed, 22 Feb 2006 00:23:15 +0100 From: Herbert Poetzl To: Kirill Korotaev Cc: "Serge E. Hallyn" , "Eric W. Biederman" , linux-kernel@vger.kernel.org, vserver@list.linux-vserver.org, Alan Cox , Dave Hansen , Arjan van de Ven , Suleiman Souhlal , Hubertus Franke , Cedric Le Goater , Kyle Moffett , 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 04/20] pspace: Allow multiple instaces of the process id namespace Message-ID: <20060221232315.GC20204@MAIL.13thfloor.at> Mail-Followup-To: Kirill Korotaev , "Serge E. Hallyn" , "Eric W. Biederman" , linux-kernel@vger.kernel.org, vserver@list.linux-vserver.org, Alan Cox , Dave Hansen , Arjan van de Ven , Suleiman Souhlal , Hubertus Franke , Cedric Le Goater , Kyle Moffett , 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 References: <43ECF803.8080404@sw.ru> <43F04FD6.5090603@sw.ru> <43F31972.3030902@sw.ru> <20060215133131.GD28677@MAIL.13thfloor.at> <20060216134447.GA12039@sergelap.austin.ibm.com> <43F98B67.60800@sw.ru> <20060220170448.GG18841@MAIL.13thfloor.at> <43FB3FDD.6030406@sw.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43FB3FDD.6030406@sw.ru> User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1384 Lines: 39 On Tue, Feb 21, 2006 at 07:29:17PM +0300, Kirill Korotaev wrote: >>>I would prefer: >>>- sys_ns_create() >>> creates namespace and makes a task to inherit this namespace. >>> If _needed_, it _can_ fork inside. >>I don't see why not have both, the auto-created >>*space on clone() and the ability to create empty >>*spaces which can be populated and/or entered >Can you give more details on what you mean by auto-created *space and >empty *space? >I see no much difference... good, in this case we can drop the empty/standalone *space and 'just' use the clone() one. glad that we finally agree here .... >>>- sys_ns_inherit() >>> change active namespace. >>hmm, sounds like a misnomer to me ... >sys_ns_change ? :) personally I prefer to see it as either enter or move, but change is probably fine too (except for the fact that it doesn't change the namespace) >>>But how should we reference namespace? by globabl ID? >>definitely by some system-unique identifier ... >Should it be integer or path as Eric proposes? IMHO the pointer would be sufficient, of course this can be mapped to arbitrary names/int/etc ... > Thanks, > Kirill - 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/