criu/include/mem.h
Pavel Emelyanov a533820b7e dump: Introduce the pre-dump action
With this action criu will seize tasks, grab all its memory into
page-pipes, rest dirty tracker and will then release them. Writing
the memory from page-pipes would occur after tasks are unfreezed
and thus the frozen time should become reasonably small.

When pre-dump is in action, the dirty tracking is forcedly turned
off as well as tasks are resumed afterwards, not killed, by default.

This is a prerequisite for iterative migration.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-05-14 12:00:40 +04:00

9 lines
290 B
C

#ifndef __CR_MEM_H__
#define __CR_MEM_H__
struct vm_area_list;
unsigned int dump_pages_args_size(struct vm_area_list *vmas);
struct parasite_ctl;
struct page_pipe;
int parasite_dump_pages_seized(struct parasite_ctl *ctl,
struct vm_area_list *vma_area_list, struct page_pipe **pp);
#endif