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

Pavel Emelyanov xemul at parallels.com
Fri Aug 30 06:26:00 EDT 2013


On 08/26/2013 05:14 PM, Andrey Vagin wrote:
> 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
> 


Applied, thanks.


More information about the CRIU mailing list