Open main menu

CRIU β

Changes

Userfaultfd

1 byte removed, 16:04, 3 November 2017
m
Daemon
Tasks after restore have lazy VMAs registered with userfaultfd, the fd itself is sent before resume to <code>lazy-pages</code> daemon and closed. The daemon monitors the UFFD events and repopulates the tasks address space. The <code>lazy-pages</code> daemon can get pages either from images (both local and remote) or directly from the remote side <code>dump</code>.
When the restored task accesses a missing memory page, it causes a page fault. The <copdecode>lazy-pages</code> daemon receives the page fault notification and resolves it by populating the faulting task memory. If there were no page faults for some time, the daemon copies the task's remaining memory pages in the background.
==== Local images ====
1
edit