[CRIU] [PATCH v4 07/12] criu: page-xfer: add ability to skip writing lazy pages

Mike Rapoport mike.rapoport at gmail.com
Thu Jun 9 06:24:40 PDT 2016


On Thu, Jun 9, 2016 at 4:22 PM, Pavel Emelyanov <xemul at virtuozzo.com> wrote:
> On 06/09/2016 04:12 PM, Mike Rapoport wrote:
>> On Thu, Jun 9, 2016 at 4:12 PM, Mike Rapoport <mike.rapoport at gmail.com> wrote:
>>>>
>>>> I have a question here -- if page_xfer_dump_pages sends a pagemap the receiver
>>>> would expect the subsequent pages on the socket, but instead, it _may_ receive
>>>> next pagemap if the previous one was lazy. How it this handled?
>>>
>>> Hmmm. It is not... I think that page-server and, most probably,
>>> incremental dumps are not compatible with lazy-pages...
>>
>> As of now :(
>
> OK... And when in the lazy-pages code-flow would this page_xfer_dump_pages()
> get called?

At the "usual place", dump_pages will have yet another boolean
parameter 'lazy' that will be passed to page_xfer_dump_pages()

> -- Pavel
>



-- 
Sincerely yours,
Mike.


More information about the CRIU mailing list