criu/include/mem.h
Pavel Emelyanov 61c6360c1d mem: Update soft-dirty detection to work on -mm tree
The soft-dirty API has changed slightly -- now the bit in
question _is_ in pagemap file (not pagemap2) but to see it
we have to reset soft-dirty for anyone first.

Teach the kerndat soft-dirty checker this fact. The actual
pagemap reading code already knows select pagemap/pagemap2
file itself.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-05-17 16:13:49 +04:00

10 lines
330 B
C

#ifndef __CR_MEM_H__
#define __CR_MEM_H__
struct vm_area_list;
int do_task_reset_dirty_track(int pid);
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