On Wed, 24 Oct 2007 20:19:34 +0530
Balbir Singh <balbir@linux.vnet.ibm.com> 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
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers