| From: |
| Andrey Mirkin <major-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org> |
| To: |
| containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org |
| Subject: |
| [PATCH 0/10] OpenVZ kernel based checkpointing/restart (v2) |
| Date: |
| Sat, 18 Oct 2008 03:11:28 +0400 |
| Message-ID: |
| <1224285098-573-1-git-send-email-major@openvz.org> |
| Cc: |
| Andrey Mirkin <major-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>, Pavel Emelyanov <xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org> |
| Archive-link: |
| Article,
Thread
|
These patchset introduces kernel based checkpointing/restart as it is
implemented in OpenVZ project. This version (v2) supports multiple
processes with simple private memory and open files (regular files).
Todo:
- Create processes with the same PID during restart
- Add support for x86-64
- Add support for shared objects
Changelog:
18 Oct 2008 (v2):
- Add support for multiple processes
- Cleanup and bug fixes
--
This patchset introduces kernel based checkpointing/restart as it is
implemented in OpenVZ project. This patchset has limited functionality and
are able to checkpoint/restart only single process. Recently Oren Laaden
sent another kernel based implementation of checkpoint/restart. The main
differences between this patchset and Oren's patchset are:
* In this patchset checkpointing initiated not from the process
(right now we do not have a container, only namespaces), Oren's patchset
performs checkpointing from the process context.
* Restart in this patchset is initiated from process, which restarts a new
process (in new namespaces) with saved state. Oren's patchset uses the same
process from which restart was initiated and restore saved state over it.
* Checkpoint/restart functionality in this patchset is implemented as a kernel
module
As checkpointing is initiated not from the process which state should be saved
we should freeze a process before saving its state. Right now Container Freezer
from Matt Helsley can be used for this.
This patchset introduce only a concept how kernel based checkpointing/restart
can be implemented and are able to checkpoint/restart only a single process
with simple VMAs.
I've tried to split my patchset in small patches to make review more easier.