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

Pavel Emelyanov xemul at parallels.com
Fri Apr 18 02:50:30 PDT 2014


On 04/16/2014 05:05 PM, Tikhomirov Pavel wrote:
> here was bug cause if e.g.: iterative snapshots are made and
> between two of them new process in process tree was created,
> it can have pages which are non dirty, and won't save them
> into image. but there is no parent image for it.
> 
> pages which are non soft-dirty appear if process with some pages
> in non dirty state forks, child will inherit those pte's
> and if child don't write to those pages, they will be still in non
> soft-dirty state when next dump comes.
> 
> also this bug was not catched because of error in zdtm, look 3/3 
> 
> v2: simplify, add more justification in commit message.
> 
> Signed-off-by: Tikhomirov Pavel <snorcht at gmail.com>

Applied, thanks


More information about the CRIU mailing list