• Mike Rapoport's avatar
    lazy-pages: interleave #PF handling with transfers of remaining pages · e91e62b0
    Mike Rapoport authored
    Currently we poll userfaultfd for page faults and if there were no page
    faults during 5 seconds we stop monitoring the userfaultfd and start
    copying remaining pages chunk by chunk.
    If a page fault occurs during the copy, the faulting process will be stuck
    until the page it accessed would be copied to its address space.
    This patch limits the initial "page fault only" stage to 1 second instead
    of 5, and interleaves non-blocking poll of userfaultfd with copying of the
    remaining memory afterwards.
    
    travis-ci: success for lazy-pages: interleave #PF handling with transfers of remaining pages
    Signed-off-by: 's avatarMike Rapoport <rppt@linux.vnet.ibm.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    e91e62b0
Name
Last commit
Last update
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.compel Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...