[CRIU] [PATCH v2 0/3] Process Migration using Sockets
Mike Rapoport
rppt at linux.vnet.ibm.com
Thu Aug 4 06:15:04 PDT 2016
On Wed, Aug 03, 2016 at 11:46:24PM +0000, Katerina Koukiou wrote:
> Changes v1 -> v2:
> -rearranged the patches so that the one that adds the implementation required
> to enable the remote option comes first.
> -rebased patches to criu-dev and not master branch as the previous time
> -fixed the changes suggested by Mike Rapoport.
>
> Note: In criu/mem.c I needed to skip the following check when --remote
> option is provided, because it resulted in error.
>
> if (page_is_zero(at[pfn])) {
> ret = page_pipe_add_hole(pp, vaddr, PP_HOLE_ZERO);
> pages[0]++;
> }
> ,is that ok?
I afraid no :)
Can you elaborate what was the error?
I believe it may be related to the changes you've made to criu/pagemap.c,
so that get_pagemap does not properly treat zero holes...
>
> Katerina Koukiou (3):
> mem: implement image proxy/image cache
> mem: Introduce image-proxy/image-cache & remote option
> test: Add testcases for image-proxy/image-cache
>
> criu/Makefile.crtools | 4 +
> criu/cr-dump.c | 17 +
> criu/crtools.c | 30 +-
> criu/image-desc.c | 4 +-
> criu/image.c | 26 +-
> criu/img-cache.c | 170 ++++++++++
> criu/img-proxy.c | 119 +++++++
> criu/img-remote-proto.c | 697 ++++++++++++++++++++++++++++++++++++++++
> criu/img-remote.c | 279 ++++++++++++++++
> criu/include/cr_options.h | 3 +
> criu/include/image.h | 1 +
> criu/include/img-remote-proto.h | 84 +++++
> criu/include/protobuf-desc.h | 4 +
> criu/mem.c | 2 +-
> criu/page-xfer.c | 26 +-
> criu/pagemap.c | 75 +++--
> criu/protobuf-desc.c | 1 +
> images/Makefile | 1 +
> images/remote-image.proto | 20 ++
> test/proxy-cache/Makefile | 29 ++
> test/proxy-cache/loop.sh | 8 +
> test/proxy-cache/run.sh | 106 ++++++
> 22 files changed, 1673 insertions(+), 33 deletions(-)
> create mode 100644 criu/img-cache.c
> create mode 100644 criu/img-proxy.c
> create mode 100644 criu/img-remote-proto.c
> create mode 100644 criu/img-remote.c
> create mode 100644 criu/include/img-remote-proto.h
> create mode 100644 images/remote-image.proto
> create mode 100644 test/proxy-cache/Makefile
> create mode 100755 test/proxy-cache/loop.sh
> create mode 100755 test/proxy-cache/run.sh
>
> --
> 2.7.3
>
More information about the CRIU
mailing list