[Devel] Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container interface to nsproxy subsystem

Paul Menage menage at google.com
Thu Apr 5 00:31:02 PDT 2007


On 4/5/07, Pavel Emelianov <xemul at sw.ru> wrote:
> > That sort of implies that we need to split the container fork
> > mechanism up into two parts, one early to add the refcount to the
> > parent's container_group, and one late to handle the callbacks if
> > desired. But that should be pretty straightforward.
>
> Splitting sounds good. I'll try to prepare an appropriate patch.

I just did this in my tree. It's a pretty simple patch, but it's a bit ugly.

> >> 2. early need for rss containers (earlier than initcalls
> >>    are called)
> >
> > Couldn't you copy the way cpuset_init_early() works?
>
> I did this in my previous version of rss container,
> but I think it can be generalized. This is initialization
> code that must not be nice-looking, but if it can be it
> should be.
>

Agreed, nice looking code is better :-)

Did you have any suggestions, other than moving container_init()
earlier in the boot process?

Paul
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list