[CRIU] [PATCH v3 10/12] shmem: add deduped anon shmem dumping to predump command
Eugene Batalov
eabatalov89 at gmail.com
Sun Aug 7 06:11:14 PDT 2016
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;
--
1.9.1
More information about the CRIU
mailing list