[CRIU] [PATCH 0/9] Drain user memory from task before dumping

Pavel Emelyanov xemul at parallels.com
Fri Mar 1 11:02:04 EST 2013


Hi.

We have a problem with how we dump tasks' memory:

1. We cannot use any more-or-less custom format for pages easily, since
   parasite code cannot be linked with any libraries;
2. We will not be able to optimize migration with preliminary memory
   migration (a.k.a. iterative migration) with it -- if we send pages 
   from parasite over network we are not able to let the task we dump 
   continue running;
3. We cannot effectively implement disk-less migration.

Thus, I changed the way we dump the memory -- crtools drain the memory
from task with pipes + vmsplice and then can do whatever it needs with
it (currently -- dumps them into image files).

It _does_ breaks the ARM :) hopefully Alexander can prepare a fix for it.


More information about the CRIU mailing list