[CRIU] [PATCH 0/2] cr-check: use two features to verify userfaultfd availability

Mike Rapoport rppt at linux.vnet.ibm.com
Tue Aug 8 10:05:55 MSK 2017


Hi,

This is somewhat v2 of "test/zdtm: do not allow running with --lazy-pages on
kernel without uffd" (1)

I've changed criu check verification for uffd availability and now instead
of '--feature lazy-pages' we'll have  '--feature uffd' and '--feature
uffd-noncoop'.

The first one checks if userfaultfd is available at all and the second
checks whether it supports non-cooperative mode.

[1] https://lists.openvz.org/pipermail/criu/2017-July/038757.html

Mike Rapoport (2):
  cr-check: use two features to verify userfaultfd availability
  test/zdtm: do not allow running with --lazy-pages on kernel without
    uffd

 criu/cr-check.c | 24 +++++++++++++++++-------
 test/zdtm.py    |  9 +++++++++
 2 files changed, 26 insertions(+), 7 deletions(-)

-- 
2.7.4



More information about the CRIU mailing list