Kirill Korotaev <[email protected]> writes: > In fact this is almost what OpenVZ does for half a year, both containers and > VPIDs. > But it is very usefull to see process tree from host system. To be able to use > std tools to manage containers from host (i.e. ps, kill, top, etc.). So it is > much more convinient to have 2 pids. One globally unique, and one for container. There are two issues here. 1) Monitoring. (ps, top etc) 2) Control (kill). For monitoring you might need to patch ps/top a little but it is doable without 2 pids. For kill it is extremely rude to kill processes inside of a nested pid space. There are other solutions to the problem. It is undesireable to make it too easy to communicate through the barrier because then applications may start to take advantage of it and then depend on it and you will have lost the isolation that the container gives you. Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Pavel Machek <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Kirill Korotaev <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- References:
- RFC [patch 00/34] PID Virtualization Overview
- From: Serge Hallyn <[email protected]>
- RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Serge Hallyn <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Arjan van de Ven <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: "Serge E. Hallyn" <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Alan Cox <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Dave Hansen <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Greg KH <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Dave Hansen <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: [email protected] (Eric W. Biederman)
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Hubertus Franke <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Linus Torvalds <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Kirill Korotaev <[email protected]>
- RFC [patch 00/34] PID Virtualization Overview
- Prev by Date: Re: [ 00/10] [Suspend2] Modules support.
- Next by Date: Re: Recursive chmod/chown OOM kills box with 32MB RAM
- Previous by thread: Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- Next by thread: Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- Index(es):