[CRIU] [PATCH v4 3/5] mem: Add is_predump argument to parasite_dump_pages_seized()
Kirill Tkhai
ktkhai at virtuozzo.com
Wed Mar 23 05:39:55 PDT 2016
On 23.03.2016 15:08, Pavel Emelyanov wrote:
> 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.
Ok, thanks.
>> + struct page_pipe **pp,
>> + bool is_predump);
>>
>> #define PME_PRESENT (1ULL << 63)
>> #define PME_SWAP (1ULL << 62)
>
More information about the CRIU
mailing list