[CRIU] [PATCH 0/5] One more attempt to fix restore of grow-down VMA-s

Andrey Vagin avagin at openvz.org
Mon Aug 26 09:14:58 EDT 2013


This patches handle two features:
1. If we've split the stack vma, only the lowest one has the guard page.
2. A guard page which is not shown in /proc/pid/mas can contina usefull
   data, which should be restored.

Andrey Vagin (5):
  mm: don't add a guard page if a prev vma grows-down too
  mm: map grow-down VMA-s with guard pages
  zdtm: check that two continios grow down vma are restored correctly
  zdtm: add grow_down test cases for regular execution
  zdtm: check grow-down vma-s in cow01

 cr-restore.c                       | 57 +++++++++++++++++++++++++++++-----
 proc_parse.c                       | 11 +++++--
 test/zdtm.sh                       |  2 ++
 test/zdtm/live/static/Makefile     |  1 +
 test/zdtm/live/static/cow01.c      | 19 ++++++++++--
 test/zdtm/live/static/grow_map02.c | 63 ++++++++++++++++++++++++++++++++++++++
 6 files changed, 140 insertions(+), 13 deletions(-)
 create mode 100644 test/zdtm/live/static/grow_map02.c

-- 
1.8.3.1



More information about the CRIU mailing list