[CRIU] Re: [PATCH cr 0/6] Initial support of shared descriptor tables

Andrey Wagin avagin at gmail.com
Tue Oct 2 10:21:36 EDT 2012


2012/10/2 Andrey Vagin <avagin at openvz.org>:
> Currently crtools supports a case when childen are shared fd table
> with parent.

Currently crtools supports a case when children share one table with a
parent. If a task shares one fd table witha non related task , dump
will fail.

>
> Andrey Vagin (6):
>   zdtm: test shared file tables
>   pstree: save ids on pstree_entry
>   crtools: don't use core->ids
>   util: clone service descriptors, if fd tables are shared for tasks
>   pstree: allocate rst parts from a shared region
>   restore: restore pocesses which share one fdtable
>
>  cr-dump.c                          |   54 +++++-------
>  cr-restore.c                       |   43 +++++++---
>  files.c                            |    6 +-
>  image.c                            |   22 +++++
>  include/crtools.h                  |   12 +++
>  include/files.h                    |    1 +
>  include/lock.h                     |    4 +
>  include/log.h                      |    1 +
>  include/pstree.h                   |   13 +++-
>  include/restorer.h                 |    1 -
>  log.c                              |   13 +++
>  protobuf/core.proto                |    2 +-
>  protobuf/pstree.proto              |    8 ++
>  pstree.c                           |   37 ++++++++-
>  test/zdtm/live/static/Makefile     |    1 +
>  test/zdtm/live/static/fdt_shared.c |  157 ++++++++++++++++++++++++++++++++++++
>  util.c                             |   70 ++++++++++++++++-
>  17 files changed, 391 insertions(+), 54 deletions(-)
>  create mode 100644 test/zdtm/live/static/fdt_shared.c
>


More information about the CRIU mailing list