[CRIU] [PATCH 0/4] criu: make page-read more self-contained

Mike Rapoport rppt at linux.vnet.ibm.com
Thu Jun 23 09:46:49 PDT 2016


Hi,

These patches attempt to localize page-read/pagemap related functions and
reduce places that directly use 'struct page_read' internals.

Mike Rapoport (4):
  criu: mv page-read.[ch] pagemap.[ch]
  criu: dedup/pagemap: move most of the dedup code to pagemap.c
  criu: shmem: use page_read->read_pages rather than its inline
    implementation
  criu: pagemap: make punch_hole static

 criu/Makefile.crtools    |   2 +-
 criu/cr-dedup.c          |  97 +---------
 criu/cr-restore.c        |   1 -
 criu/include/page-read.h |  95 ----------
 criu/include/page-xfer.h |   2 +-
 criu/include/pagemap.h   |  94 ++++++++++
 criu/page-read.c         | 384 -------------------------------------
 criu/pagemap.c           | 479 +++++++++++++++++++++++++++++++++++++++++++++++
 criu/shmem.c             |  19 +-
 criu/uffd.c              |   2 +-
 10 files changed, 579 insertions(+), 596 deletions(-)
 delete mode 100644 criu/include/page-read.h
 create mode 100644 criu/include/pagemap.h
 delete mode 100644 criu/page-read.c
 create mode 100644 criu/pagemap.c

-- 
1.9.1



More information about the CRIU mailing list