[CRIU] [PATCH 0/3] Make pstree_item::pid allocated dynamically

Kirill Tkhai ktkhai at virtuozzo.com
Wed Jan 25 07:28:36 PST 2017


This is a preparation for nested pid_ns support in some short or
long future.

---

Kirill Tkhai (3):
      pstree: Simplify get_free_pid()
      pstree: Link pid and pstree_item
      pstree: Make pstree_item::pid pointer and move virt and node to array


 criu/action-scripts.c   |    2 -
 criu/autofs.c           |   12 ++---
 criu/cgroup.c           |    2 -
 criu/cr-check.c         |    2 -
 criu/cr-dump.c          |   77 ++++++++++++++++---------------
 criu/cr-restore.c       |  116 +++++++++++++++++++++++-----------------------
 criu/cr-service.c       |    4 +-
 criu/file-lock.c        |    4 +-
 criu/files-reg.c        |   14 +++---
 criu/files.c            |   28 ++++++-----
 criu/filesystems.c      |    2 -
 criu/image.c            |    7 ++-
 criu/include/pid.h      |   12 +++--
 criu/include/pstree.h   |    4 +-
 criu/irmap.c            |    4 +-
 criu/mem.c              |   20 ++++----
 criu/mount.c            |    8 ++-
 criu/namespaces.c       |   26 +++++-----
 criu/net.c              |    4 +-
 criu/page-xfer.c        |    4 +-
 criu/parasite-syscall.c |    2 -
 criu/proc_parse.c       |    2 -
 criu/pstree.c           |  118 ++++++++++++++++++++++++-----------------------
 criu/seccomp.c          |    4 +-
 criu/seize.c            |   38 ++++++++-------
 criu/tty.c              |    8 ++-
 26 files changed, 267 insertions(+), 257 deletions(-)

--
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>


More information about the CRIU mailing list