[CRIU] [PATCH 2/3] mem: if no parent image persists, can't rely on it

Pavel Emelyanov xemul at parallels.com
Tue Apr 15 12:15:51 PDT 2014


On 04/15/2014 11:07 PM, Pavel Tikhomirov wrote:
> Please read this comment.
> 
> 
> Best Regards, Tikhomirov Pavel.
> 
> 
> 2014-04-15 17:43 GMT+04:00 Pavel Tikhomirov <snorcht at gmail.com <mailto:snorcht at gmail.com>>:
> 
>     Ok, but what if parent writes to memory first and gets COW'ed,
>     and child gets writable memory when access it.
>     It can result in no PF.

It doesn't. Parent #PF doesn't modify child's PTEs.

>     Just an Idea, need to understand COW mechanism more precisely.
> 
> 
>     Best Regards, Tikhomirov Pavel.


More information about the CRIU mailing list