Re: [RFC][PATCH 5/7] cgroup: make sure parent won't be destroyedbefore its children

From: Michal Hocko
Date: Thu Apr 04 2013 - 11:30:59 EST


On Thu 04-04-13 08:22:13, Tejun Heo wrote:
> On Thu, Apr 04, 2013 at 05:20:28PM +0200, Michal Hocko wrote:
> > > But what harm does an additional reference do?
> >
> > No harm at all. I just wanted to be sure that this is not yet another
> > "for memcg" hack. So if this is useful for other controllers then I have
> > no objections of course.
>
> I think it makes sense in general, so let's do it in cgroup core.

Ok

> I suppose it'd be easier for this to be routed together with other
> memcg changes?

Probably yes.

> Thanks.
>
> --
> tejun
> --
> To unsubscribe from this list: send the line "unsubscribe cgroups" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/