[CRIU] [RFC 0/2] Pagemap cache, v2

Cyrill Gorcunov gorcunov at openvz.org
Thu Feb 13 01:26:12 PST 2014


Addressed Pavel's comments

 - cache is 2M in size
 - files renamed to pagemap-cache.[ch]
 - pmc_get_pme returns PME instead of index and such

Please take a look, comments are highly appreciated.

Cyrill Gorcunov (2):
  pagemap: Introduce pagemap cache
  mem: Start using pagemap cache

 Makefile.crtools        |   1 +
 include/pagemap-cache.h |  41 +++++++++
 mem.c                   |  64 +++++++-------
 pagemap-cache.c         | 216 ++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 287 insertions(+), 35 deletions(-)
 create mode 100644 include/pagemap-cache.h
 create mode 100644 pagemap-cache.c

-- 
1.8.3.1



More information about the CRIU mailing list