[CRIU] Re: [PATCH cr 1/2] restore: use a currect stack for new processes (v3)

Cyrill Gorcunov gorcunov at openvz.org
Sun Aug 26 05:43:01 EDT 2012


On Sun, Aug 26, 2012 at 12:47:03AM +0400, Andrey Vagin wrote:
> 
> Why do we need a new stack? We already have one and it can be used.
> 
> We need to step a bit for executing a glibc clone()
> 
> v2: Don't lose a page from a child's stack
> v3: Remove the defined constant STACK_SIZE
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
Acked-by: Cyrill Gorcunov <gorcunov at openvz.org>

Btw, Andrew, I guess we need some fork-bomb test-case,
say a task with 2048 children, that will allow us to
figure out if we're still fine when reaching stack
underflow in main crtools process.

	Cyrill


More information about the CRIU mailing list