[CRIU] [PATCH 1/3] rst: Don't allocate page for child stack

Andrew Vagin avagin at parallels.com
Fri Sep 12 07:23:46 PDT 2014


On Fri, Sep 12, 2014 at 06:17:26PM +0400, Cyrill Gorcunov wrote:
> On Fri, Sep 12, 2014 at 06:13:29PM +0400, Andrew Vagin wrote:
> > On Fri, Sep 12, 2014 at 04:42:43PM +0400, Pavel Emelyanov wrote:
> > > When clone-ing kids we can set their stack on current, as
> > > it will anyway be COW-ed later.
> > 
> > glibc() will modify a new stack. Look at this:
> > 
> 
> We've an example in restorer for bare clone() call, maybe
> adopt from there if needed.

No, we don't need to touch this code at all;)


More information about the CRIU mailing list