lazy-pages: fixes

Submitted by Mike Rapoport on April 16, 2018, 4:58 p.m.


Reviewer None
Submitted April 16, 2018, 4:58 p.m.
Last Updated April 20, 2018, 5:20 a.m.
Revision 1

Cover Letter


The previous lazy-pages patchset [1] introduced several new bugs and
uncovered some old ones as well.

This set fixes most of them and should allow proper runs of lazy-restore
from the images.

As for the remote lazy-pages and lazy migration, I still don't have a
solution of some of the races between background fetch and uffd events and
I'm continue to work on it.


Mike Rapoport (8):
  test: lazy-pages: exclude maps007
  lazy-pages: introduce merge_iov_lists helper
  lazy-pages: merge_iov_lists: fix corner case of empty destination
  lazy-pages: handle_requests: fix return value propagation
  lazy-pages: cache buffer size in the lazy_pages_info
  lazy-pages: update events handling to take requests into account
  lazy-pages: return to epoll_wait after completing forks
  lazy-pages: don't try to uffd_copy to removed memory regions

 criu/uffd.c                            | 140 +++++++++++++++++++++++++--------
 scripts/travis/travis-tests            |   2 +-
 test/jenkins/    |   2 +-
 test/jenkins/        |   2 +-
 test/jenkins/ |   2 +-
 5 files changed, 110 insertions(+), 38 deletions(-)