lkml.org 
[lkml]   [2007]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/16] Change data structures for pid namespaces
>> | > +
>> | > 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;
>> | > + struct pid_number numbers[1];
>> | > };
>> | >
>> | > extern struct pid init_struct_pid;
>> | > diff -upr linux-2.6.22-rc4-mm2.orig/include/linux/pid_namespace.h linux-2.6.22-rc4-mm2-2/include/linux/pid_namespace.h
>> | > --- linux-2.6.22-rc4-mm2.orig/include/linux/pid_namespace.h 2007-06-14 12:14:29.000000000 +0400
>> | > +++ linux-2.6.22-rc4-mm2-2/include/linux/pid_namespace.h 2007-07-04 19:00:39.000000000 +0400
>> | > @@ -16,7 +15,10 @@ struct pidmap {
>> | > struct kref kref;
>> | > struct pidmap pidmap[PIDMAP_ENTRIES];
>> | > int last_pid;
>> | > + int level;
>> | > struct task_struct *child_reaper;
>> | > + struct kmem_cache *pid_cachep;
>> |
>> | so, that looks like a good idea to have the cache in the pidmap. could you
>> | push that independently to see how it all fits together ?
>>
>> Yes. I like this idea too.
>
> OK. I will collect the patches you Acked and send them to Andrew independently.

good thanks,

however that part on the *pid_cachep will require some rework on your patchset.

C.
-
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/

\
 
 \ /
  Last update: 2007-07-10 14:11    [W:0.055 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site