[CRIU] [PATCH 0/7] revert zero pagemaps
Mike Rapoport
rppt at linux.vnet.ibm.com
Thu Dec 15 04:10:36 PST 2016
Hi,
After all the effort I've put into adding zero pagemap entries, we've found
out that they are pretty much useless.
We anyway have to rely on the assumption that parts of a VMA not covered by
the pagemap have to be UFFDIO_ZERO'ed.
That said, the patches below "revert" addition of the zero pagemaps. Yet,
I've kept the ability to have flags for hole entries in the pagemap, just
in case we'll ever need them :)
Mike Rapoport (7):
lazy-pages: zero out pages not covered by the pagemap
lazy-pages: stop checking for zero pagemaps
pagemap: seek_pagemap: drop skip_zero parameter
Drop support for zero pagemap entries
stats: drop zero pages stats
mem: provide inline versions for page_{in_parent,is_zero}
page-pipe: drop unused PP_HOLE_ZERO flag
criu/cr-dedup.c | 2 +-
criu/include/page-pipe.h | 1 -
criu/include/pagemap.h | 15 ++++----------
criu/include/stats.h | 1 -
criu/mem.c | 52 +++++++++++++++++++++++++++---------------------
criu/page-xfer.c | 17 ++++------------
criu/pagemap.c | 24 +++++++++-------------
criu/shmem.c | 4 ++--
criu/stats.c | 3 ---
criu/uffd.c | 7 ++-----
images/stats.proto | 3 +--
lib/py/images/pb2dict.py | 5 ++---
12 files changed, 54 insertions(+), 80 deletions(-)
--
1.9.1
More information about the CRIU
mailing list