• Mike Rapoport's avatar
    lazy-pages: unblock second receive in page_server_event · 4d9d7ae7
    Mike Rapoport authored
    The page transfer protocol is completely synchronous on the dump side,
    therefore we can presume that when we get POLLIN event on the page server
    socket it is either page info response for the last sent page request or
    the page data following the last page info.
    In the first case we set ev_data associated with page server socket events
    to values received in receive_remote_page_info and in the second case we
    reset ev_data to zero. This allows us to distinguish what was the reason
    page_server_event have been called.
    
    travis-ci: success for uffd: A new set of improvements
    Signed-off-by: 's avatarMike Rapoport <rppt@linux.vnet.ibm.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    4d9d7ae7
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...