[CRIU] [RFC PATCH v2 10/23] lazy-pages: summary: allow different total and copied pages
Mike Rapoport
rppt at linux.vnet.ibm.com
Mon Feb 6 03:44:03 PST 2017
With address space manipulations, amount of pages that the lazy-pages
daemon will copy might differ from amount of pages we had in the dumps.
Disable the warning and error retval for now; we can restore the accounting
once uffd event handling stabilizes a bit.
Signed-off-by: Mike Rapoport <rppt at linux.vnet.ibm.com>
---
criu/uffd.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/criu/uffd.c b/criu/uffd.c
index 9667250..d391a60 100644
--- a/criu/uffd.c
+++ b/criu/uffd.c
@@ -744,12 +744,14 @@ static int lazy_pages_summary(struct lazy_pages_info *lpi)
lp_debug(lpi, "UFFD transferred pages: (%ld/%ld)\n",
lpi->copied_pages, lpi->total_pages);
+#if 0
if ((lpi->copied_pages != lpi->total_pages) && (lpi->total_pages > 0)) {
lp_warn(lpi, "Only %ld of %ld pages transferred via UFFD\n"
"Something probably went wrong.\n",
lpi->copied_pages, lpi->total_pages);
return 1;
}
+#endif
return 0;
}
--
1.9.1
More information about the CRIU
mailing list