[CRIU] [PATCHv1 0/3] Support C/R of frozen cgroup

Eugene Batalov eabatalov89 at gmail.com
Tue Dec 8 05:32:27 PST 2015


Hello. This patchset implements c/r of ps tree
that was frozen using freezer controller before start of
ps tree dumping.
Such ps tree will be frozen after restore.
This means that we can c/r paused Docker containers.
See details in issue #20 on github:
https://github.com/xemul/criu/issues/20

We'll send patch with autotest for this feature later.

>From user point of view we extend functionality of --freeze-cgroup
option so CRIU documentation and help message for --freeze-cgroup
option may need some improvement/clarification.

=== v0 to v1 changes ===
Save freezer state not in new cgroup.img field but in existing
cgroup_prop_entry. This should make next changes in freezer c/r
much easier. For example if CRIU supports c/r of complete freezer
hierarchy.

Evgeniy Akimov (3):
  cgroups: save freezer state during dump
  restore: split finalize_restore into two stages
  restore: restore freezer cgroup state

 cgroup.c         | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 cr-restore.c     | 37 +++++++++++++++++++++------------
 include/cgroup.h |  1 +
 include/seize.h  |  1 +
 seize.c          |  5 +++++
 5 files changed, 93 insertions(+), 13 deletions(-)

-- 
1.9.1



More information about the CRIU mailing list