2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

cr-check: lazy-pages: detect availability of UNMAP and EXIT events

travis-ci: success for lazy-pages: add non-#PF events handling (rev2)
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Mike Rapoport
2017-02-06 13:44:05 +02:00
committed by Andrei Vagin
parent 2f2f11ad87
commit 7df4f14be6

View File

@@ -1049,7 +1049,9 @@ static int check_compat_cr(void)
static int check_uffd(void) static int check_uffd(void)
{ {
unsigned long features = UFFD_FEATURE_EVENT_FORK | unsigned long features = UFFD_FEATURE_EVENT_FORK |
UFFD_FEATURE_EVENT_EXIT |
UFFD_FEATURE_EVENT_REMAP | UFFD_FEATURE_EVENT_REMAP |
UFFD_FEATURE_EVENT_UNMAP |
UFFD_FEATURE_EVENT_REMOVE; UFFD_FEATURE_EVENT_REMOVE;
if (kerndat_uffd(true)) if (kerndat_uffd(true))