[Devel] Re: [PATCH 0/16] Pid namespaces

2007-07-16 Thread sukadev
Pavel Emelianov [EMAIL PROTECTED] wrote: | >My x86_64 system boots fine but crashes as below, when I run my | >'pidns_exec' test with a simple program that prints getpid(), getppid() | >etc of the process in the child pid ns. | > | >Pls see | > | >http://www.geocities.com/sukadevb/Pidspace/2.6.22-

[Devel] Re: [PATCH 0/16] Pid namespaces

2007-07-16 Thread Pavel Emelianov
My x86_64 system boots fine but crashes as below, when I run my 'pidns_exec' test with a simple program that prints getpid(), getppid() etc of the process in the child pid ns. Pls see http://www.geocities.com/sukadevb/Pidspace/2.6.22-rc6-mm1-pavel-1.tgz for the patches I currently have applie

[Devel] Re: [PATCH 0/16] Pid namespaces

2007-07-12 Thread Badari Pulavarty
On Wed, 2007-07-11 at 20:19 -0700, [EMAIL PROTECTED] wrote: > Pavel Emelianov [EMAIL PROTECTED] wrote: > | [EMAIL PROTECTED] wrote: > |.. > My x86_64 system boots fine but crashes as below, when I run my > 'pidns_exec' test with a simple program that prints getpid(), getppid() > etc of the process

[Devel] Re: [PATCH 0/16] Pid namespaces

2007-07-11 Thread sukadev
Pavel Emelianov [EMAIL PROTECTED] wrote: | [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: | > | | > | T

[Devel] 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

[Devel] 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

[Devel] 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

[Devel] 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

[Devel] 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.

[Devel] 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

[Devel] 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

[Devel] 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

[Devel] 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

[Devel] 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

[Devel] 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

[Devel] 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. >>>

[Devel] 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))) {

[Devel] 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

[Devel] 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

[Devel] 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

[Devel] 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

[Devel] 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

[Devel] 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

[Devel] 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

[Devel] 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

[Devel] Re: [PATCH 0/16] Pid namespaces

2007-07-09 Thread Herbert Poetzl
On Mon, Jul 09, 2007 at 05:16:17PM +0400, Pavel Emelianov wrote: > 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 overa

[Devel] 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

[Devel] 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

[Devel] 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

[Devel] 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

[Devel] 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