Re: [PATCH 4/16] Change data structures for pid namespaces

2007-07-10 Thread Cedric Le Goater
>> | > + >> | > struct pid >> | > { >> | > atomic_t count; >> | > @@ -40,6 +40,8 @@ enum pid_type >> | > /* lists of tasks that use this pid */ >> | > struct hlist_head tasks[PIDTYPE_MAX]; >> | > struct rcu_head rcu; >> | > +int level; >> | > +s

Re: [PATCH 4/16] Change data structures for pid namespaces

2007-07-10 Thread Pavel Emelianov
[EMAIL PROTECTED] wrote: > Cedric Le Goater [EMAIL PROTECTED] wrote: > | Pavel Emelianov wrote: > | > struct pid_namespace will have the kmem_cache to allocate > | > the pids from, the parent, as they are hierarchical, and > | > the level of nesting value. > | > > | > struct pid will have a variab

Re: [PATCH 4/16] Change data structures for pid namespaces

2007-07-09 Thread sukadev
Cedric Le Goater [EMAIL PROTECTED] wrote: | Pavel Emelianov wrote: | > struct pid_namespace will have the kmem_cache to allocate | > the pids from, the parent, as they are hierarchical, and | > the level of nesting value. | > | > struct pid will have a variable length array of pid_number-s | > one

Re: [PATCH 4/16] Change data structures for pid namespaces

2007-07-09 Thread Cedric Le Goater
Pavel Emelianov wrote: > struct pid_namespace will have the kmem_cache to allocate > the pids from, the parent, as they are hierarchical, and > the level of nesting value. > > struct pid will have a variable length array of pid_number-s > one for each namespace this pid lives in. The level value >

[PATCH 4/16] Change data structures for pid namespaces

2007-07-06 Thread Pavel Emelianov
struct pid_namespace will have the kmem_cache to allocate the pids from, the parent, as they are hierarchical, and the level of nesting value. struct pid will have a variable length array of pid_number-s one for each namespace this pid lives in. The level value shows the level of the namespace thi