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

Cyrill Gorcunov gorcunov at openvz.org
Thu Oct 25 09:53:18 EDT 2012


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?


More information about the CRIU mailing list