From: Cedric Le Goater <clg@fr.ibm.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Kirill Korotaev <dev@sw.ru>,
Herbert Poetzl <herbert@13thfloor.at>,
linux-kernel@vger.kernel.org, Gregory Kurz <gkurz@fr.ibm.com>,
Hubertus Franke <frankeh@us.ibm.com>
Subject: Re: question: pid space semantics.
Date: Tue, 14 Mar 2006 21:32:41 +0100 [thread overview]
Message-ID: <44172869.5030707@fr.ibm.com> (raw)
In-Reply-To: <m1veuglvdx.fsf@ebiederm.dsl.xmission.com>
Eric W. Biederman wrote:
> To retain any part of the existing unix process management
> we need some processes that show up in multiple pid spaces.
yep.
> To allow for migration it must be possible for the pids in those pid
> spaces to be different.
agree, the process that creates a pidspace is in different pidspaces if you
want to maintain the process hierarchy.
> It is undesirable in the normal case of affairs to allocate more
> than one pid per process.
yes.
> Given the small range of pid values these constraints make an
> efficient and general pid space solution challenging.
>
> The question:
> If we could add additional pid values in different pid spaces to a
> process with a syscall upon demand would that lead to an
> implementation everyone could use?
I don't know yet if we would use it but we need it :) One way of the other.
The creator of a pidspace could be the parent of multiple pidspaces and
hence it needs multiples pids, one in each pidspace.
Could that be done with the syscall creating the pidspace ? because it
seems that the process creating a pidspace is the only candidate ?
> [ ... ]
>
> The reason I ask is that I believe I know how to implement a cheap
> general mechanism for adding additional pids to a process.
OK good. That's what we need to begin with : something cheap to prove the
feature is useful.
We have already implemented the vpid in a very similar way to the openvz
team, although with less optimization and linux feeling. Both efforts and
yours, on pidspaces, didn't prove to be good enough to be valuable.
C.
next prev parent reply other threads:[~2006-03-14 20:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1142282940.27590.17.camel@localhost.localdomain>
2006-03-14 18:43 ` question: pid space semantics Eric W. Biederman
2006-03-14 19:18 ` Dave Hansen
2006-03-14 20:21 ` Eric W. Biederman
2006-03-14 20:32 ` Cedric Le Goater [this message]
2006-03-14 22:40 ` Herbert Poetzl
2006-03-15 6:01 ` Eric W. Biederman
2006-03-15 4:27 ` Ulrich Drepper
2006-03-15 5:37 ` Eric W. Biederman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44172869.5030707@fr.ibm.com \
--to=clg@fr.ibm.com \
--cc=dev@sw.ru \
--cc=ebiederm@xmission.com \
--cc=frankeh@us.ibm.com \
--cc=gkurz@fr.ibm.com \
--cc=herbert@13thfloor.at \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox