[CRIU] [RFC 1/3] pagemap-cache: Introduce engine

Cyrill Gorcunov gorcunov at gmail.com
Fri Feb 14 07:52:45 PST 2014


On Fri, Feb 14, 2014 at 07:03:06PM +0400, Andrew Vagin wrote:
> > +
> > +u64 pmc_get_pme(pmc_t *pmc, struct vma_area *vma, unsigned long addr)
> 
> Why do we need to call pmc_get_pme for each page? The cache contains pfn
> for all pages of one vma or nothing, doesn't it?

Yup. The idea of returning PME as result were requested. Though I don't
mind to change interface to return the cache map to a caller instead.


More information about the CRIU mailing list