[CRIU] [PATCH 0/7] lazy-pages: update checks for availability of userfaultfd
Mike Rapoport
rppt at linux.vnet.ibm.com
Tue Aug 15 09:23:47 MSK 2017
Hi,
These patches refactor userfault detection kerndat and the related
functionality.
As a part of this series kerndat initialization is moved very early and now
significant parts of cr-check maybe simplified, which is left as an
exercise to the reader^Wmaintainer ;-)
Well, actually, I'll send a patch a bit later that will take care of
redundant calls to kdat_*.
Mike Rapoport (7):
lazy-pages: introduce uffd_open
kdat: move kerndat initialization to the very beginning
cr-check: make uffd verification "extra" rather then "experimental"
cr-check: verify uffd availability based on cached kdat
cr-check: use two features to verify userfaultfd availability
cr-service: require non-cooperative userfaultfd for lazy-pages
test/zdtm: do not allow running with --lazy-pages on kernel without
uffd
criu/cr-check.c | 28 +++++++++++++-----------
criu/cr-dump.c | 6 ------
criu/cr-restore.c | 3 ---
criu/cr-service.c | 19 ++++------------
criu/crtools.c | 3 +++
criu/include/uffd.h | 5 +++++
criu/kerndat.c | 34 +++++++++++------------------
criu/uffd.c | 62 +++++++++++++++++++++++++++++++++++++++--------------
test/zdtm.py | 9 ++++++++
9 files changed, 95 insertions(+), 74 deletions(-)
--
2.7.4
More information about the CRIU
mailing list