Re: [PATCH 0/16] Pid namespaces

2007-07-11 Thread Matt Mackall
On Wed, Jul 11, 2007 at 10:39:02AM +0400, Pavel Emelianov wrote: > Matt Mackall wrote: > > On Fri, Jul 06, 2007 at 12:01:59PM +0400, Pavel Emelianov wrote: > >> This is "submition for inclusion" of hierarchical, not kconfig > >> configurable, zero overheaded ;) pid namespaces. > > > > How big is i

Re: [PATCH 0/16] Pid namespaces

2007-07-10 Thread Pavel Emelianov
Matt Mackall wrote: > On Fri, Jul 06, 2007 at 12:01:59PM +0400, Pavel Emelianov wrote: >> This is "submition for inclusion" of hierarchical, not kconfig >> configurable, zero overheaded ;) pid namespaces. > > How big is it? Summary: 50 files changed, 877 insertions, 241 deletions. Besides, each p

Re: [PATCH 0/16] Pid namespaces

2007-07-10 Thread Matt Mackall
On Fri, Jul 06, 2007 at 12:01:59PM +0400, Pavel Emelianov wrote: > This is "submition for inclusion" of hierarchical, not kconfig > configurable, zero overheaded ;) pid namespaces. How big is it? Do I want it on my cell phone or on my wireless router? -- Mathematics is the supreme nostalgia of

Re: [PATCH 0/16] Pid namespaces

2007-07-10 Thread Badari Pulavarty
On Tue, 2007-07-10 at 15:30 +0400, Pavel Emelianov wrote: > Cedric Le Goater wrote: > > Badari Pulavarty wrote: > >> On Fri, 2007-07-06 at 12:01 +0400, Pavel Emelianov wrote: > >>> This is "submition for inclusion" of hierarchical, not kconfig > >>> configurable, zero overheaded ;) pid namespaces.

Re: [PATCH 0/16] Pid namespaces

2007-07-10 Thread Badari Pulavarty
On Tue, 2007-07-10 at 17:06 +0400, Pavel Emelianov wrote: > > Not able to boot my ppc64 machine with the patchset :( > > > > Thanks, > > Badari > > That's the hunk lost during the split: > > --- ./fs/proc/root.c.procfix 2007-07-10 13:52:08.0 +0400 > +++ ./fs/proc/root.c 2007-07-10 15:2

Re: [PATCH 0/16] Pid namespaces

2007-07-10 Thread Pavel Emelianov
[EMAIL PROTECTED] wrote: > Pavel Emelianov [EMAIL PROTECTED] wrote: > | This is "submition for inclusion" of hierarchical, not kconfig > | configurable, zero overheaded ;) pid namespaces. > | > | The overall idea is the following: > | > | The namespace are organized as a tree - once a task is clo

Re: [PATCH 0/16] Pid namespaces

2007-07-10 Thread Pavel Emelianov
> Not able to boot my ppc64 machine with the patchset :( > > Thanks, > Badari That's the hunk lost during the split: --- ./fs/proc/root.c.procfix2007-07-10 13:52:08.0 +0400 +++ ./fs/proc/root.c2007-07-10 15:23:20.0 +0400 @@ -111,7 +111,7 @@ void __init proc_root_init(void

Re: [PATCH 0/16] Pid namespaces

2007-07-10 Thread Pavel Emelianov
Daniel Lezcano wrote: > Pavel Emelianov wrote: >> Cedric Le Goater wrote: >>> Badari Pulavarty wrote: On Fri, 2007-07-06 at 12:01 +0400, Pavel Emelianov wrote: > This is "submition for inclusion" of hierarchical, not kconfig > configurable, zero overheaded ;) pid namespaces. Not a

Re: [PATCH 0/16] Pid namespaces

2007-07-10 Thread Daniel Lezcano
Pavel Emelianov wrote: Cedric Le Goater wrote: Badari Pulavarty wrote: On Fri, 2007-07-06 at 12:01 +0400, Pavel Emelianov wrote: This is "submition for inclusion" of hierarchical, not kconfig configurable, zero overheaded ;) pid namespaces. Not able to boot my ppc64 machine with the patchset

Re: [PATCH 0/16] Pid namespaces

2007-07-10 Thread Pavel Emelianov
Cedric Le Goater wrote: > Badari Pulavarty wrote: >> On Fri, 2007-07-06 at 12:01 +0400, Pavel Emelianov wrote: >>> This is "submition for inclusion" of hierarchical, not kconfig >>> configurable, zero overheaded ;) pid namespaces. >> Not able to boot my ppc64 machine with the patchset :( > > I can

Re: [PATCH 0/16] Pid namespaces

2007-07-10 Thread Pavel Emelianov
[EMAIL PROTECTED] wrote: > Pavel Emelianov [EMAIL PROTECTED] wrote: > | This is "submition for inclusion" of hierarchical, not kconfig > | configurable, zero overheaded ;) pid namespaces. > | > | The overall idea is the following: > | > | The namespace are organized as a tree - once a task is clo

Re: [PATCH 0/16] Pid namespaces

2007-07-10 Thread Pavel Emelianov
Badari Pulavarty wrote: > On Mon, 2007-07-09 at 22:06 +0200, Cedric Le Goater wrote: >> Badari Pulavarty wrote: >>> On Fri, 2007-07-06 at 12:01 +0400, Pavel Emelianov wrote: This is "submition for inclusion" of hierarchical, not kconfig configurable, zero overheaded ;) pid namespaces. >>>

Re: [PATCH 0/16] Pid namespaces

2007-07-10 Thread Pavel Emelianov
[EMAIL PROTECTED] wrote: > I am not able to find a specific patch that this might be in, > but what happens when the child-reaper of a container exits ? The init namespace's init becomes this init's namespace's init :) In other words: if (unlikely(tsk == child_reaper(tsk))) {

Re: [PATCH 0/16] Pid namespaces

2007-07-10 Thread Pavel Emelianov
Cedric Le Goater wrote: > 3. Suka assumes that pid namespace can live without proc mount >and tries to make the code work with pid_ns->proc_mnt change >from NULL to not-NULL from times to times. >My code calls the kern_mount() at the namespace creation and >thus

Re: [PATCH 0/16] Pid namespaces

2007-07-09 Thread sukadev
I am not able to find a specific patch that this might be in, but what happens when the child-reaper of a container exits ? Do you terminate all processes in the container ? I thought that was discussed earlier and the consensus was to terminate all processes in that container and its subordinate c

Re: [PATCH 0/16] Pid namespaces

2007-07-09 Thread sukadev
Pavel Emelianov [EMAIL PROTECTED] wrote: | This is "submition for inclusion" of hierarchical, not kconfig | configurable, zero overheaded ;) pid namespaces. | | The overall idea is the following: | | The namespace are organized as a tree - once a task is cloned | with CLONE_NEWPIDS (yes, I've als

Re: [PATCH 0/16] Pid namespaces

2007-07-09 Thread Badari Pulavarty
On Mon, 2007-07-09 at 22:06 +0200, Cedric Le Goater wrote: > Badari Pulavarty wrote: > > On Fri, 2007-07-06 at 12:01 +0400, Pavel Emelianov wrote: > >> This is "submition for inclusion" of hierarchical, not kconfig > >> configurable, zero overheaded ;) pid namespaces. > > > > Not able to boot my p

Re: [PATCH 0/16] Pid namespaces

2007-07-09 Thread sukadev
Pavel Emelianov [EMAIL PROTECTED] wrote: | This is "submition for inclusion" of hierarchical, not kconfig | configurable, zero overheaded ;) pid namespaces. | | The overall idea is the following: | | The namespace are organized as a tree - once a task is cloned | with CLONE_NEWPIDS (yes, I've al

Re: [PATCH 0/16] Pid namespaces

2007-07-09 Thread Cedric Le Goater
3. Suka assumes that pid namespace can live without proc mount and tries to make the code work with pid_ns->proc_mnt change from NULL to not-NULL from times to times. My code calls the kern_mount() at the namespace creation and thus the pid_namespace always work

Re: [PATCH 0/16] Pid namespaces

2007-07-09 Thread Cedric Le Goater
Badari Pulavarty wrote: > On Fri, 2007-07-06 at 12:01 +0400, Pavel Emelianov wrote: >> This is "submition for inclusion" of hierarchical, not kconfig >> configurable, zero overheaded ;) pid namespaces. > > Not able to boot my ppc64 machine with the patchset :( I can't boot either on a x86_64 but

Re: [PATCH 0/16] Pid namespaces

2007-07-09 Thread Dave Hansen
On Mon, 2007-07-09 at 09:58 +0400, Pavel Emelianov wrote: > Dave Hansen wrote: > > On Fri, 2007-07-06 at 12:01 +0400, Pavel Emelianov wrote: > >> This is "submition for inclusion" of hierarchical, not kconfig > >> configurable, zero overheaded ;) pid namespaces. > > > > Pavel, I'm a bit disappoint

Re: [PATCH 0/16] Pid namespaces

2007-07-09 Thread Herbert Poetzl
by relay.sw.ru (8.13.4/8.13.4) with ESMTP id l6681xfW003026; Fri, 6 Jul 2007 12:02:00 +0400 (MSD) Message-ID: <[EMAIL PROTECTED]> Date: Fri, 06 Jul 2007 12:01:59 +0400 From: Pavel Emelianov <[EMAIL PROTECTED]> User-Agent: Thunderbird 1.5 (X11/20060317) MIME-Version: 1.0 T

Re: [PATCH 0/16] Pid namespaces

2007-07-09 Thread Badari Pulavarty
On Fri, 2007-07-06 at 12:01 +0400, Pavel Emelianov wrote: > This is "submition for inclusion" of hierarchical, not kconfig > configurable, zero overheaded ;) pid namespaces. Not able to boot my ppc64 machine with the patchset :( Thanks, Badari Unable to handle kernel paging request for data at a

Re: [PATCH 0/16] Pid namespaces

2007-07-09 Thread Pavel Emelianov
Herbert Poetzl wrote: > On Fri, Jul 06, 2007 at 12:01:59PM +0400, Pavel Emelianov wrote: >> This is "submition for inclusion" of hierarchical, not kconfig >> configurable, zero overheaded ;) pid namespaces. >> >> The overall idea is the following: >> >> The namespace are organized as a tree - once

Re: [PATCH 0/16] Pid namespaces

2007-07-09 Thread Herbert Poetzl
On Fri, Jul 06, 2007 at 12:01:59PM +0400, Pavel Emelianov wrote: > This is "submition for inclusion" of hierarchical, not kconfig > configurable, zero overheaded ;) pid namespaces. > > The overall idea is the following: > > The namespace are organized as a tree - once a task is cloned > with CLON

Re: [PATCH 0/16] Pid namespaces

2007-07-08 Thread Pavel Emelianov
Dave Hansen wrote: > On Fri, 2007-07-06 at 12:01 +0400, Pavel Emelianov wrote: >> This is "submition for inclusion" of hierarchical, not kconfig >> configurable, zero overheaded ;) pid namespaces. > > Pavel, I'm a bit disappointed that you went ahead and sent this. I > thought that, perhaps, you

Re: [PATCH 0/16] Pid namespaces

2007-07-06 Thread Dave Hansen
On Fri, 2007-07-06 at 12:01 +0400, Pavel Emelianov wrote: > This is "submition for inclusion" of hierarchical, not kconfig > configurable, zero overheaded ;) pid namespaces. Pavel, I'm a bit disappointed that you went ahead and sent this. I thought that, perhaps, you might have brought up how dis

[PATCH 0/16] Pid namespaces

2007-07-06 Thread Pavel Emelianov
This is "submition for inclusion" of hierarchical, not kconfig configurable, zero overheaded ;) pid namespaces. The overall idea is the following: The namespace are organized as a tree - once a task is cloned with CLONE_NEWPIDS (yes, I've also switched to it :) the new namespace becomes the paren