[CRIU] [PATCH RFC 0/3] page-pipe: allow to handle pipes in batch mode

Andrey Vagin avagin at openvz.org
Mon Jan 27 05:38:46 PST 2014


The problem is that vmsplice() to a big pipe fails very often.

The kernel allocates the linear chunk of memory for pipe buffer
descriptos, but big allocation in kernel can fail.

So we need to restrict maximal capacity of pipes. But the number of
pipes is restricted too, so we need to dump memory in a batch mode.

TODO: * send all pipes to parasite in one request
      * rework pre-dump to use sys_process_vm_readv()

Cc: Cyrill Gorcunov <gorcunov at openvz.org>
CC: Pavel Emelyanov <xemul at parallels.com>
Signed-off-by: Andrey Vagin <avagin at openvz.org>


More information about the CRIU mailing list