[CRIU] [PATCH 2/4] syscalls: Add sys_madvise

Andrey Vagin avagin at parallels.com
Thu Oct 25 09:57:00 EDT 2012


On Thu, Oct 25, 2012 at 05:53:18PM +0400, Cyrill Gorcunov wrote:
> On Thu, Oct 25, 2012 at 05:48:08PM +0400, Andrey Vagin wrote:
> > On Thu, Oct 25, 2012 at 05:43:43PM +0400, Cyrill Gorcunov wrote:
> > > On Thu, Oct 25, 2012 at 05:36:10PM +0400, Pavel Emelyanov wrote:
> > > > On 10/25/2012 05:32 PM, Andrey Vagin wrote:
> > > > > All code for restoring vma content are going to be moved in cr-restore.c.
> > > > 
> > > > _All_ ? Even shared?
> > > 
> > > I rather wonder about this statement. Andrew share the plan please -- you
> > > wanna move some code which lays in restorer.c to cr-restore.c?
> > 
> > I sent a seriest a few days ago
> > [PATCH cr 0/16] Restore copy-on-write regions (v2)
> > 
> > But nobody want to look at this chef d'oeuvre;).
> 
> OK, so idea is to map them in cr-restore.c at addresses which grants us
> by the kernel and then remap them at proper places with mremap, right?

Exactly.


More information about the CRIU mailing list