[CRIU] [PATCH RFC 7/8] criu: uffd: add --lazy-addr option

Mike Rapoport mike.rapoport at gmail.com
Thu Jun 16 08:27:34 PDT 2016


Guys,

On Wed, Jun 15, 2016 at 8:36 AM, Mike Rapoport <mike.rapoport at gmail.com> wrote:
> On Fri, May 27, 2016 at 10:33 PM, Pavel Emelyanov <xemul at virtuozzo.com> wrote:
>> On 05/21/2016 01:49 PM, Mike Rapoport wrote:
>>> to distinguish between UNIX socket address for passing uffd and the address
>>> of the remote dump
>>
>> Would you show when the --addredd and --lazy-addr confusion may occur?
>
> Well, we can skip --lazy-addr if we will fork() lazy-pages from
> cr-restore. Then the unix socket will be created in cr-restore and
> inherited by lazy-pages daemon.
>
> Another possibility is to make lazy-pages daemon a variation of the
> page-server that does not depend on existing checkpoint directory,
> like Adrian suggested a while ago.
> Then it will get the required information via the unix socket. For
> instance, in addition to pid and uffd, lazy-pages daemon will receive
> the path to relevant checkpoint directory.

Any thoughts here?


More information about the CRIU mailing list