mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-23 18:19:39 +00:00
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>
9 lines
290 B
C
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
|