From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030190AbWAWVLW (ORCPT ); Mon, 23 Jan 2006 16:11:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030191AbWAWVLW (ORCPT ); Mon, 23 Jan 2006 16:11:22 -0500 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:61382 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S1030190AbWAWVLV (ORCPT ); Mon, 23 Jan 2006 16:11:21 -0500 Subject: Re: RFC [patch 13/34] PID Virtualization Define new task_pid api From: Alan Cox To: "Eric W. Biederman" Cc: Hubertus Franke , Dave Hansen , Greg KH , "Serge E. Hallyn" , Arjan van de Ven , linux-kernel@vger.kernel.org, Cedric Le Goater In-Reply-To: References: <20060117143258.150807000@sergelap> <20060117143326.283450000@sergelap> <1137511972.3005.33.camel@laptopd505.fenrus.org> <20060117155600.GF20632@sergelap.austin.ibm.com> <1137513818.14135.23.camel@localhost.localdomain> <1137518714.5526.8.camel@localhost.localdomain> <20060118045518.GB7292@kroah.com> <1137601395.7850.9.camel@localhost.localdomain> <43D14578.6060801@watson.ibm.com> <43D52592.8080709@watson.ibm.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 23 Jan 2006 21:11:23 +0000 Message-Id: <1138050684.24808.29.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Llu, 2006-01-23 at 12:28 -0700, Eric W. Biederman wrote: > > Yes, that's possible.. In the current patch that is not a problem, because > > the internal pid (aka kpid) == mangeled together. > > So in those cases, the kernel would have to keep > > Agreed, and for the internal implementation I think having them mangled > together make sense, so long as we never export that form to userspace. You have to refcount the container ids anyway or you may have stale container references and end up reusing them.