[CRIU] Re: [PATCH cr 07/16] restore: map private vma-s before forking children

Andrey Wagin avagin at gmail.com
Thu Nov 1 07:15:29 EDT 2012


2012/11/1 Pavel Emelyanov <xemul at parallels.com>:

>>>
>>>>>
>>>>>> +
>>>>>> +         list_del(&p->list);
>>>>>> +         xfree(p);
>>>>>
>>>>> Why do we remove parent vma from its list?
>>>>
>>>> Then all unused parent's vma-s will be unmapped.
>>>
>>> What do you mean by "unused"?
>>
>> This vma-s are present in parent and they are not present in a child.
>
> What if it's present in grand-child again?
Now such situation are not supported. When we will support it, these
vma-s should be remapped in a child space.


More information about the CRIU mailing list