mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
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: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
committed by
Andrei Vagin
parent
cdeb57a233
commit
028a1bc80a
@@ -744,12 +744,14 @@ static int lazy_pages_summary(struct lazy_pages_info *lpi)
|
|||||||
lp_debug(lpi, "UFFD transferred pages: (%ld/%ld)\n",
|
lp_debug(lpi, "UFFD transferred pages: (%ld/%ld)\n",
|
||||||
lpi->copied_pages, lpi->total_pages);
|
lpi->copied_pages, lpi->total_pages);
|
||||||
|
|
||||||
|
#if 0
|
||||||
if ((lpi->copied_pages != lpi->total_pages) && (lpi->total_pages > 0)) {
|
if ((lpi->copied_pages != lpi->total_pages) && (lpi->total_pages > 0)) {
|
||||||
lp_warn(lpi, "Only %ld of %ld pages transferred via UFFD\n"
|
lp_warn(lpi, "Only %ld of %ld pages transferred via UFFD\n"
|
||||||
"Something probably went wrong.\n",
|
"Something probably went wrong.\n",
|
||||||
lpi->copied_pages, lpi->total_pages);
|
lpi->copied_pages, lpi->total_pages);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user