[CRIU] [RFC PATCH v2 12/23] cr-check: lazy-pages: detect availability of UNMAP and EXIT events

Mike Rapoport rppt at linux.vnet.ibm.com
Mon Feb 6 03:44:05 PST 2017


Signed-off-by: Mike Rapoport <rppt at linux.vnet.ibm.com>
---
 criu/cr-check.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/criu/cr-check.c b/criu/cr-check.c
index 77e91f1..8bfc992 100644
--- a/criu/cr-check.c
+++ b/criu/cr-check.c
@@ -1030,7 +1030,9 @@ static int check_tcp_window(void)
 static int check_uffd(void)
 {
 	unsigned long features = UFFD_FEATURE_EVENT_FORK |
+		UFFD_FEATURE_EVENT_EXIT |
 		UFFD_FEATURE_EVENT_REMAP |
+		UFFD_FEATURE_EVENT_UNMAP |
 		UFFD_FEATURE_EVENT_REMOVE;
 
 	if (kerndat_uffd(true))
-- 
1.9.1



More information about the CRIU mailing list