[CRIU] Re: [PATCH cr] mm: taking into account a gurad page to find a space for a restorer vma

Cyrill Gorcunov gorcunov at openvz.org
Mon Sep 10 06:29:37 EDT 2012


On Mon, Sep 10, 2012 at 02:26:00PM +0400, Cyrill Gorcunov wrote:
> > >
> > > Plz, describe the problem you're solving.
> > 
> > crtools on restore finds a place for a restorer vma, which will not
> > intersect with other VMAs. A guard page is a part of a stack VMA, if
> > we don't take into account it, we can place the restorer VMA on it and
> > that case is a bug.
> 
> Wait, it seems I was rushing with my ack ;) Look, if we start substracting
> guard page at dumping time -- what we will have after a couple of c/r cycles?
> Would not this lead to situation where we expand stack manually? Every new
> c/r cycle add one page to the bottom of stack, no?

Drop this mail, everything is fine ;)

	Cyrill


More information about the CRIU mailing list