Re: [RFC v5][PATCH 0/9] Kernel based checkpoint/restart

Cedric Le Goater
2008-09-25T13:00:48Z

Serge E. Hallyn wrote:
> Quoting Oren Laadan (orenl@cs.columbia.edu):
>> These patches implement basic checkpoint-restart [CR]. This version (v5)
>> supports basic tasks with simple private memory, and open files (regular
>> files and directories only). The main changes include rework of memory
>> restart code and response to feedback. See original announcements below.
>>
>> Oren.
>
> Playing around a bit, all seems to work as advertised.
>
> Has anyone playing with this run into any oopses with the latest
> version?
>
> Cedric, could you send out your patch (or a pointer to them) to make
> ckpt/restart on another task work, so we can pound the core code a bit
> harder with liblxc?

sure. the user tools are in CVS for the moment :

http://lxc.cvs.sourceforge.net/lxc/

but Daniel will probably release something soon. the lxc-checkpoint and
lxc-restart tools are a bit too optimistic on the availability of the
checkpoint and restart syscalls, a cleanup might be needed.

the patchset is here :

http://legoater.free.fr/patches/2.6.27/2.6.27-rc7-lxc2/

it's based on top of current mainline and includes :

. sysfs patches for net namespace
. freezer subsystem
. oren's V5 checkpoint and restart patches
. a personal hack to do external checkpoint and restart using
the lxc-checkpoint and lxc-restart tools
. some fixes

and also

an old mq namespace implementation (being reworked currently)

restart is still bogus because some state is not well captured at
checkpoint time.

I'm working on it right now !

Thanks,

C.