Re: [PATCH 7/8] cgroup: mount cgroupns-root when inside non-init cgroupns
From: Tejun Heo
Date: Wed Dec 02 2015 - 12:06:02 EST
On Wed, Dec 02, 2015 at 11:02:39AM -0600, Serge E. Hallyn wrote:
> On Wed, Dec 02, 2015 at 11:58:39AM -0500, Tejun Heo wrote:
> > On Wed, Dec 02, 2015 at 10:56:37AM -0600, Serge E. Hallyn wrote:
> > > Can it be flushed when we know that the cgroup is being pinned by
> > > a css_set? (There's either a task or a cgroup_namespace pinning it
> > > or we wouldn't get here)
> >
> > Yeap, it can be flushed. There's no ref coming out of cgroup to the
> > vfs objects.
>
> Ok, thanks. Still seems to me to be more work to actually walk the
> path ourselves, but I'll go that route and see what it looks like :)
I just dislike having two separate paths instantiating the same
objects and would prefer doing it the same way userland would do if
that isn't too complex but yeah it might turn out to be a lot more
work.
Thanks a lot!
--
tejun
--
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/