[CRIU] Re: [PATCH] parasite: Increase stack size up to 16K

Pavel Emelyanov xemul at parallels.com
Wed Sep 19 07:02:05 EDT 2012


On 09/19/2012 01:07 AM, Cyrill Gorcunov wrote:
> In commit 97cfb707 we extended scm_fdset structure
> up to 7K thus we need to increase the parasite stack
> size enough to hold it. It was not noticed simply because
> we were poking arguments area of memory.
> 
> The memory map of args and stack for parasite look like
> 
>   +-----------+   min address
>   |           | |
>   | arguments | v (8K)
>   |           |
>   +-----------+
>   |           |
>   |   stack   | ^ (16K)
>   |           | |
>   +-----------+   max address
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>

Applied


More information about the CRIU mailing list