Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030195AbWBMVbm (ORCPT ); Mon, 13 Feb 2006 16:31:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030197AbWBMVbm (ORCPT ); Mon, 13 Feb 2006 16:31:42 -0500 Received: from e3.ny.us.ibm.com ([32.97.182.143]:61080 "EHLO e3.ny.us.ibm.com") by vger.kernel.org with ESMTP id S1030195AbWBMVbl (ORCPT ); Mon, 13 Feb 2006 16:31:41 -0500 Date: Mon, 13 Feb 2006 15:31:36 -0600 From: "Serge E. Hallyn" To: Kirill Korotaev Cc: "Eric W. Biederman" , linux-kernel@vger.kernel.org, vserver@list.linux-vserver.org, Herbert Poetzl , "Serge E. Hallyn" , 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: <20060213213136.GA25799@sergelap.austin.ibm.com> References: <43ECF803.8080404@sw.ru> <43F04B28.9090300@sw.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43F04B28.9090300@sw.ru> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1091 Lines: 25 Quoting Kirill Korotaev (dev@sw.ru): > >So far you have not addressed the issues of maintaining code in the > >kernel tree. > Uhhh... I see that you have no real arguments. Nice. Au contraire, this is a central issue which you have yet to address. How do you suggest helping maintainers in the future know which pid they are working with? For our vpid patchset we had considered using sparse to make sure that the real ('kernel') and user ('virtual') pids were never used in place of each other without going through a conversion. That could be one solution. Using opaque typedefs is of course another solution. But suspect there will be places in the code where it simply isn't clear at first glance which pid you'd want. And if it's not clear at first glance, then it's likely to be done wrong in at least some of those places. -serge - 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/