[CRIU] [PATCH 0/3] Speed up recv_fd_from_peer()

Kirill Tkhai ktkhai at virtuozzo.com
Wed Jan 25 01:46:09 PST 2017


Continuing Pavel Emelyanov's series "[PATCH 0/4] files: Sanitation"
and on top of it.

This series makes recv_fd_from_peer() do not call additional
ioctl() to examine data presence, and use MSG_DONTWAIT recvmsg()
parameter instead.

Tests are passed here:
https://travis-ci.org/tkhai/criu/jobs/195112828
https://travis-ci.org/tkhai/criu/jobs/195112829
---

Kirill Tkhai (3):
      scm: Return sensible error codes in recv_fds()
      scm: Allow to pass flags argument to recv_fds()
      files: Use non-block __recv_fds() in recv_fd_from_peer()


 compel/plugins/std/fds.c  |    1 +
 compel/src/lib/infect.c   |    1 +
 criu/files.c              |   13 ++++---------
 criu/pie/util-fd.c        |    2 ++
 include/common/scm-code.c |    8 ++++----
 include/common/scm.h      |    9 +++++++--
 6 files changed, 19 insertions(+), 15 deletions(-)

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


More information about the CRIU mailing list