[CRIU] [PATCH v2 00/11] lazy-pages: add support for remote pages

Mike Rapoport rppt at linux.vnet.ibm.com
Tue May 31 06:34:50 PDT 2016


Hi,

This is a slightly cleaner implementation of using uffd with remote pages.
As per Adrian request, the operation description is added to the commit
message of the last commit.

v2 changes:
* added helpers to page-xfer to reduce code duplication
* modified protocol between dump side page server and lazy pages daemon as
per Pavel's comments
* some changes in the way parasite_dump_pages_seized is refactored. There's
still more to improve here, even without addition of lazy pages support :)

TODO:
* refactor page-reader to support random access and remote page reads
* make lazy-pages non-blocking with respect to #PFs
* performance imporvements

Mike Rapoport (11):
  criu: page-pipe: introduce page_pipe_buf manipulation helpers
  criu: page_pipe_buf: add PPB_LAZY flag
  criu: page-pipe: introduce page_pipe_split
  criu: page-xfer: move code aroud
  criu: page-xfer: intorduce helpers for sending IOVs
  criu: page-xfer: add ability to skip writing lazy pages
  criu: page-xfer: add PS_IOV_GET interface
  criu: uffd: add --lazy-addr option
  criu: slightly refactor memory dump to support delaying it
  criu: page-pipe: add ability to allocate IOVs
  criu: lazy-pages: enable remoting of lazy pages

 criu/cr-dump.c                  |   57 +-
 criu/crtools.c                  |    4 +
 criu/include/cr_options.h       |    1 +
 criu/include/mem.h              |    3 +-
 criu/include/page-pipe.h        |    9 +-
 criu/include/page-xfer.h        |    4 +-
 criu/include/parasite-syscall.h |    1 -
 criu/include/pstree.h           |    1 +
 criu/mem.c                      |   52 +-
 criu/page-pipe.c                |  327 ++++++++++--
 criu/page-read.c                |    2 +-
 criu/page-xfer.c                | 1116 +++++++++++++++++++++------------------
 criu/parasite-syscall.c         |    2 +
 criu/shmem.c                    |    4 +-
 criu/uffd.c                     |   35 +-
 15 files changed, 991 insertions(+), 627 deletions(-)

-- 
1.9.1



More information about the CRIU mailing list