[CRIU] [PATCH v4 3/5] mem: Add is_predump argument to parasite_dump_pages_seized()
Pavel Emelyanov
xemul at virtuozzo.com
Wed Mar 23 05:08:43 PDT 2016
On 03/22/2016 02:22 PM, Kirill Tkhai wrote:
> New argument to indicate if the function is called from pre-dump or dump.
There's already such sign in this function :)
> @@ -11,7 +11,8 @@ extern int do_task_reset_dirty_track(int pid);
> extern unsigned int dump_pages_args_size(struct vm_area_list *vmas);
> extern int parasite_dump_pages_seized(struct parasite_ctl *ctl,
> struct vm_area_list *vma_area_list,
> - struct page_pipe **pp);
Here it is. The pp being NULL means we're doing dump.
> + struct page_pipe **pp,
> + bool is_predump);
>
> #define PME_PRESENT (1ULL << 63)
> #define PME_SWAP (1ULL << 62)
More information about the CRIU
mailing list