Process IDs in a multi-namespace world
Posted Nov 11, 2007 22:37 UTC (Sun) by kolyshkin
In reply to: Process IDs in a multi-namespace world
Parent article: Process IDs in a multi-namespace world
The PID problem fades into insignificance compared to the difficulty of migrating all the other state of a container - all the state in the kernel that uses the global kernel address space, such as inodes, plus the state that lives outside Linux, such as TCP connections and SCSI tasks.
I would wait until those problems are solved before complicating the PID namespace in the name of migration.
I guess you might want to take a look at OpenVZ (and if you want to see the actual kernel code it's under kernel/cpt/ in source tree, for example, here).
And OpenVZ is not the only one available implementation of containers migration in Linux -- two others I know are Meiosys Metacluster and Zap (both are closed-source unfortunately although Zap may become opensource; also they tend to concentrate on migration while OpenVZ sees it as just another feature of containers).
to post comments)