lazy-pages: handle_remaining_pages: enable asynchronous reads

Submitted by Mike Rapoport on June 15, 2017, 8:08 a.m.

Details

Reviewer None
Submitted June 15, 2017, 8:08 a.m.
Last Updated June 20, 2017, 6:17 p.m.
Revision 3

Cover Letter

Hi,

These patches enable asynchronous fetch for the pages that were not
accessed by the restored process.

Until now once we've started to fetch an iovec we've been waiting until
it's completely copied before returning to event processing loop. Now we
can have several request for the remote pages in flight.

travis: https://travis-ci.org/rppt/criu/builds/243263450

Mike Rapoport (2):
  lazy-pages: make the check for outstanding request more strict
  lazy-pages: handle_remaining_pages: enable asynchronous reads

 criu/uffd.c | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 69 insertions(+), 15 deletions(-)
  

Revisions