[CRIU] [PATCH v2 00/14] Introduce custom per-task service fds placement
Kirill Tkhai
ktkhai at virtuozzo.com
Thu Dec 28 16:08:46 MSK 2017
Hi, there is the second version of the patchset.
Changes are in [5/12] (added more comments),
[12/14] (added a handle for very big fd numbers).
Also, [13-14/14] are new. [14/14] is a test,
[13/14] is a dependence (it was already sent in
another pathset).
https://travis-ci.org/tkhai/criu/builds/322530683
---
Kirill Tkhai (14):
files: Close ctl tty via generic engine
files: Move prepare_ctl_tty() to criu/tty.c
files: Move CTL_TTY_OFF fixup to generic file engine
files: Kill unused CTL_TTY_OFF leftovers
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 | 45 +++-------------
criu/include/files.h | 3 +
criu/include/servicefd.h | 4 -
criu/include/tty.h | 2 -
criu/include/util.h | 2 +
criu/tty.c | 127 ++++++++++++++++++++++++++++++++++++++++++--
criu/util.c | 111 +++++++++++++++++++++++++++++---------
images/fdinfo.proto | 1
test/zdtm/lib/zdtmtst.h | 2 +
test/zdtm/static/Makefile | 1
test/zdtm/static/fd01.c | 106 +++++++++++++++++++++++++++++++++++++
test/zdtm/static/fd01.desc | 1
13 files changed, 335 insertions(+), 84 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