<div dir="ltr">When we track changes since last dump we don't dump not changed pages so we don't create duplicates of pages on each criu dump. This is not equal to full data deduplication but it is similar. Also "dedup" term is used already (ex. --auto-dedup option) in criu --help.</div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-10 16:23 GMT+03:00 Pavel Emelyanov <span dir="ltr"><<a href="mailto:xemul@virtuozzo.com" target="_blank">xemul@virtuozzo.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Again, why dedup?! It's about changes tracking, isn't it?<br>
<div class="HOEnZb"><div class="h5"><br>
On 08/07/2016 04:11 PM, Eugene Batalov wrote:<br>
> As anon shmem dump supports dedup now<br>
> we can work with it during predump.<br>
><br>
> Signed-off-by: Eugene Batalov <<a href="mailto:eabatalov89@gmail.com">eabatalov89@gmail.com</a>><br>
> ---<br>
> criu/cr-dump.c | 4 ++++<br>
> 1 file changed, 4 insertions(+)<br>
><br>
> diff --git a/criu/cr-dump.c b/criu/cr-dump.c<br>
> index 743100d..f65002b 100644<br>
> --- a/criu/cr-dump.c<br>
> +++ b/criu/cr-dump.c<br>
> @@ -1563,6 +1563,10 @@ int cr_pre_dump_tasks(pid_t pid)<br>
> if (pre_dump_one_task(item))<br>
> goto err;<br>
><br>
> + ret = cr_dump_shmem();<br>
> + if (ret)<br>
> + goto err;<br>
> +<br>
> if (irmap_predump_prep())<br>
> goto err;<br>
><br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Best regards,<br>Eugene Batalov.</div>
</div>