[CRIU] [PATCH v4 00/12] lazy-pages: add support for remote pages

Mike Rapoport rppt at linux.vnet.ibm.com
Sun Jun 5 23:27:33 PDT 2016


Hi,

Some fixes, thanks to Adrian.

v4 changes:
* fixed ppb_alloc_resize to pass nr_pages instead of nr_bytes to fcntl
* added removal of ppb's right after they are spliced to socked

v3 changes:
* fixed initialization of pp->own_iovs, thanks Mr. Jenkins

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 (12):
  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-pipe: introduce page_pipe_destroy_ppb
  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        |   11 +-
 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                |  336 ++++++++++--
 criu/page-read.c                |    2 +-
 criu/page-xfer.c                | 1107 +++++++++++++++++++++------------------
 criu/parasite-syscall.c         |    2 +
 criu/shmem.c                    |    4 +-
 criu/uffd.c                     |   35 +-
 15 files changed, 992 insertions(+), 628 deletions(-)

-- 
1.9.1



More information about the CRIU mailing list