Hello! > into the pidhash, or make the first exec()d process the container's > init? Does that seem reasonable? It is exactly what openvz does, the first task becomes child reaper. Cedric asked why do we have an init in each container, I answered that we want to. But openvz approach is enough flexible not to do this, nothing will break if a container process is reparented to normal init. The question was not about openvz, it was about (container,pid) approach. How are you going to reap chidren without a child reaper inside container? If you reparent all the children to a single init in root container, what does wait() return? In openvz it returns global pid and child is buried in peace. If you do not have global pid, you cannot just return private pid. Alexey - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org 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 5/7] VPIDs: vpid/pid conversion in VPID enabled case
- From: Cedric Le Goater <clg@fr.ibm.com>
- Re: [RFC][PATCH 5/7] VPIDs: vpid/pid conversion in VPID enabled case
- From: "Serge E. Hallyn" <serue@us.ibm.com>
- Re: [RFC][PATCH 5/7] VPIDs: vpid/pid conversion in VPID enabled case
- References:
- [RFC][PATCH] VPIDs: Virtualization of PIDs (OpenVZ approach)
- From: Kirill Korotaev <dev@openvz.org>
- [RFC][PATCH 5/7] VPIDs: vpid/pid conversion in VPID enabled case
- From: Kirill Korotaev <dev@openvz.org>
- Re: [RFC][PATCH 5/7] VPIDs: vpid/pid conversion in VPID enabled case
- From: Dave Hansen <haveblue@us.ibm.com>
- Re: [RFC][PATCH 5/7] VPIDs: vpid/pid conversion in VPID enabled case
- From: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
- Re: [RFC][PATCH 5/7] VPIDs: vpid/pid conversion in VPID enabled case
- From: Cedric Le Goater <clg@fr.ibm.com>
- Re: [RFC][PATCH 5/7] VPIDs: vpid/pid conversion in VPID enabled case
- From: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
- Re: [RFC][PATCH 5/7] VPIDs: vpid/pid conversion in VPID enabled case
- From: Cedric Le Goater <clg@fr.ibm.com>
- Re: [RFC][PATCH 5/7] VPIDs: vpid/pid conversion in VPID enabled case
- From: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
- Re: [RFC][PATCH 5/7] VPIDs: vpid/pid conversion in VPID enabled case
- From: "Serge E. Hallyn" <serue@us.ibm.com>
- [RFC][PATCH] VPIDs: Virtualization of PIDs (OpenVZ approach)
- Prev by Date: Re: nfsroot doesn't work with intel card since 2.6.12.2/2.6.11
- Next by Date: Re: [PATCH] fix kill_proc_info() vs copy_process() race
- Previous by thread: Re: [RFC][PATCH 5/7] VPIDs: vpid/pid conversion in VPID enabled case
- Next by thread: Re: [RFC][PATCH 5/7] VPIDs: vpid/pid conversion in VPID enabled case
- Index(es):
![]() |