[CRIU] [PATCH 0/2] lazy-pages: handle_remaining_pages: enable asynchronous reads

Mike Rapoport rppt at linux.vnet.ibm.com
Thu Jun 15 12:51:53 MSK 2017


On Thu, Jun 15, 2017 at 12:16:50PM +0300, Pavel Emelyanov wrote:
> On 06/15/2017 11:08 AM, Mike Rapoport wrote:
> > 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.
> > 
> > Mike Rapoport (2):
> >   lazy-pages: make the check for outstanding request more strict
> >   lazy-pages: handle_remaining_pages: enable asynchronous reads
> > 
> >  criu/uffd.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
> >  1 file changed, 56 insertions(+), 7 deletions(-)
> > 
> 
> Acked-by: Pavel Emelyanov <xemul at virtuozzo.com>
> 

I still have some unresolved issue with it :(
When the process exits before all the in flight transfers are complete, we
fail :(
I'll fix it and resend the patches then.



More information about the CRIU mailing list