[CRIU] [PATCH v3 10/12] shmem: add deduped anon shmem dumping to predump command
Pavel Emelyanov
xemul at virtuozzo.com
Wed Aug 10 06:23:10 PDT 2016
Again, why dedup?! It's about changes tracking, isn't it?
On 08/07/2016 04:11 PM, Eugene Batalov wrote:
> As anon shmem dump supports dedup now
> we can work with it during predump.
>
> Signed-off-by: Eugene Batalov <eabatalov89 at gmail.com>
> ---
> criu/cr-dump.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/criu/cr-dump.c b/criu/cr-dump.c
> index 743100d..f65002b 100644
> --- a/criu/cr-dump.c
> +++ b/criu/cr-dump.c
> @@ -1563,6 +1563,10 @@ int cr_pre_dump_tasks(pid_t pid)
> if (pre_dump_one_task(item))
> goto err;
>
> + ret = cr_dump_shmem();
> + if (ret)
> + goto err;
> +
> if (irmap_predump_prep())
> goto err;
>
>
More information about the CRIU
mailing list