Dave, I've addressed the feedback on ckpt-v14 and pushed it to ckpt-v15. (There is no point in reposting the entire chain). Main changes are use kmalloc/kfree in ckpt_hdr_get/put() implementation (discard hbuf/hpos), move vdso patch early, fixes to s390, and added support for /dev/null, /dev/zero, /dev/random, /dev/urandom (trivial patch). Also, the powerpc patches are still there, however Nathan is working or fixing them so eventually they will be replaced. Oren. Oren Laadan wrote: > Here is the latest and greatest of checkpoint/restart (c/r) patchset. > The logic and image format reworked and simplified, code refactored, > support for PPC, s390, sysvipc, shared memory of all sorts, namespaces > (uts and ipc). > The userspace tool 'mktree' was extended to handle more complicated > process tree and correctly account for process relationships and > session ID (sid). Should correctly handle threads. > Hey, it even went through some massive renaming of files and functions... > > Signals and timers are not supported yet, so programs that rely on > their behavior may fail to oeprate correctly after a restart (e.g. > may lose signals pending at time of checkpoint, and so on). > > However, this one can actually be used for simple batch jobs (pipes, > too), a whole container or just a subtree of tasks. Try it: > > create the freezer cgroup: > $ mount -t cgroup -ofreezer freezer /freezer > $ mkdir /freezer/0 > > run the test, freeze it: > $ test/multitask & > [1] 2754 > $ for i in `pidof multitask`; do echo $i > /freezer/0/tasks; done > $ echo FROZEN > /freezer/0/freezer.state > > checkpoint: > $ ./ckpt 2754 > ckpt.out > > restart: > $ ./mktree < ckpt.out > > voila :) > > To do all this, you'll need: > > The git tree tracking v14, branch 'ckpt-v14' (and past versions): > git://git.ncl.cs.columbia.edu/pub/git/linux-cr.git > > Restarting multiple processes requires 'mktree' userspace tool with > the matching branch (v14): > git://git.ncl.cs.columbia.edu/pub/git/user-cr.git > > > Oren. > > _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers