Commit 028a1bc8 authored by Mike Rapoport's avatar Mike Rapoport Committed by Andrei Vagin

lazy-pages: summary: allow different total and copied pages

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.

travis-ci: success for lazy-pages: add non-#PF events handling (rev2)
Signed-off-by: 's avatarMike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent cdeb57a2
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment