[CRIU] [PATCH v3 00/10] Introduce custom per-task service fds placement

Kirill Tkhai ktkhai at virtuozzo.com
Fri Dec 29 12:35:06 MSK 2017


Hi,

this is the third version of the patch set.
The changes are in [8/10] (were decreased memory usage
in case of number of decriptors is a pow of 2 minus 1
as found by Andrei.

https://travis-ci.org/tkhai/criu/builds/322833495

---

Kirill Tkhai (10):
      files: Rename service_fd_rlim_cur to service_fd_base_cur
      files: Count inh_fd_max
      files: Pass pstree_item argument to clone_service_fd()
      files: Close old service fd in clone_service_fd()
      files: Do setup_newborn_fds() later
      files: Refactor clone_service_fd()
      files: Prepare clone_service_fd() for overlaping ranges.
      files: Make tasks set their own service_fd_base
      zdtm: Export sys_clone_unified() to headers
      zdtm: Add fd01 test


 criu/cr-restore.c          |   14 +++---
 criu/files.c               |    5 ++
 criu/include/files.h       |    2 +
 criu/include/servicefd.h   |    2 -
 criu/include/util.h        |    2 +
 criu/util.c                |  101 +++++++++++++++++++++++++++++++++++-------
 test/zdtm/lib/zdtmtst.h    |    2 +
 test/zdtm/static/Makefile  |    1 
 test/zdtm/static/fd01.c    |  106 ++++++++++++++++++++++++++++++++++++++++++++
 test/zdtm/static/fd01.desc |    1 
 10 files changed, 211 insertions(+), 25 deletions(-)
 create mode 100644 test/zdtm/static/fd01.c
 create mode 100644 test/zdtm/static/fd01.desc

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


More information about the CRIU mailing list