[CRIU] [PATCH 1/2] cgroups: Add ability to reuse precreated controllers and cgroups

Cyrill Gorcunov gorcunov at gmail.com
Fri May 22 06:50:44 PDT 2015


On Fri, May 22, 2015 at 04:31:47PM +0300, Pavel Emelyanov wrote:
> > 
> > 
> > With "strict" mode criu will do the same step by step.
> > In turn with "oppor" mode it try to create <memory>
> > if not exist, if exist -- simply continue. 
> 
> But "memory" is created on freshly mounted tmpfs, how can
> it exist there?!

In the second patch I provided cgroup-yard option where
memory may be premounted.

> > With "bind" mode it requires <memory> to exist.
> 
> O_O
> 
> > IOW, current --manage-cgroup <mode> covers how to
> > behave on cgroup roots. And I didn't change the behaviour
> > when criu handles cgroup 100 and subcgroup, but maybe I
> > should to?
> 
> Yes. You should change the behavior on dir "100" only -- it
> can exist, but criu have to restore props on it.

OK, I see, thanks.


More information about the CRIU mailing list