On Wed, 24 Oct 2007 20:19:34 +0530
Balbir Singh <[EMAIL PROTECTED]> wrote:

> > +   /*
> > +    * Notify subsyses that rmdir() request comes.
> > +    */
> > +   for_each_subsys(root, ss) {
> > +           if ((cont->subsys[ss->subsys_id]) && ss->pre_destroy)
> > +                   ss->pre_destroy(ss, cont);
> > +   }
> > 
> 
> Is pre_destroy really required? Can't we do what we do here in destroy?
>

I think keeping "we can destroy cgroup only when refcnt=0" semantics is better.

Thanks,
-Kame
_______________________________________________
Containers mailing list
[EMAIL PROTECTED]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to