[CRIU] [PATCH] Skip restoring the cgroup root directories when using full mode

Cyrill Gorcunov gorcunov at gmail.com
Tue Aug 25 09:09:55 PDT 2015


On Tue, Aug 25, 2015 at 12:04:52PM -0400, Hui Kang wrote:
> On Tue, Aug 25, 2015 at 12:00 PM, Cyrill Gorcunov <gorcunov at gmail.com> wrote:
> > On Tue, Aug 25, 2015 at 06:42:38PM +0300, Andrew Vagin wrote:
> >> On Tue, Aug 25, 2015 at 06:26:08PM +0300, Andrew Vagin wrote:
> >> > I think the idea of restoring the root directories is wrong if you don't
> >> > dump all processes on the host... It isn't actually about this patch,
> >> > it's abount the manage-cgroups "full" mode.
> >>
> >> Hi Hui,
> >>
> >> Can we skip the root directories? We can think that if we meet a root
> >> directory, this meens that a process doesn't use this controller?
> >>
> >> Hui and Cirill, what do you think about this idea?
> >
> > IIRC Hui hit the problem when special properties such as
> > cpusets were not restored, which looks like a different
> > issue than root directories. Or I miss something?
> 
> Hi, Cirill,
> Sorry, I forgot to mention this issue happens when manage-cgroup=full.

Ah, thanks! Then indeed we may skip root dirs.


More information about the CRIU mailing list