LWN.net Logo

PID virtualization?

PID virtualization?

Posted Nov 2, 2007 2:16 UTC (Fri) by quotemstr (subscriber, #45331)
Parent article: Notes from a container

Why do PIDs need to be virtualized? Each process can retain its globally-unique PID. From the
point of view of a process in a cgroup, processes that aren't in that particular group just
don't exist. Any new process would get a free entry in the global PID list. Granted, that
doesn't allow each namespace to have its PID 1, but is that a big deal?


(Log in to post comments)

PID virtualization?

Posted Nov 2, 2007 6:14 UTC (Fri) by dlang (✭ supporter ✭, #313) [Link]

one reason is that with full container virtualization it should be possible to pick up a
container from one machine and drop it on another machine and have everything keep running.

that's the goal the container people are aiming for. it's significantly mor ethen the BSD
jail, but without the overhead of system virtualization.

PID virtualization?

Posted Nov 6, 2007 7:28 UTC (Tue) by AndrewHuo (subscriber, #28799) [Link]

PID virtualization can be used to avoid PID-conflict
in process migration (checkpoint&restart), though the
probability of PID-conflict is very low. 

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds