OpenVZ kernel based checkpointing/restart (v2)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 69 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | Introduce trivial sys_checkpoint and sys_restore system callsMakefile arch/ checkpoint/ +2 more | +44 | 0 replies | |
| 2/10 | Make checkpoint/restart functionality modularcheckpoint/ checkpoint/ checkpoint/ +3 more | +107 | 4 replies | |
| 3/10 | Introduce context structure needed during checkpointing/restartcheckpoint/ checkpoint/ checkpoint/ | +225 | 3 replies | |
| 4/10 | Introduce container dump functioncheckpoint/ checkpoint/ checkpoint/ +2 more | +87 | 0 replies | |
| 5/10 | Introduce function to dump processcheckpoint/ checkpoint/ checkpoint/ +2 more | +362 | 7 replies | |
| 6/10 | Introduce functions to dump mmarch/ checkpoint/ checkpoint/ +4 more | +504 | 11 replies | |
| 7/10 | Introduce function for restarting a containercheckpoint/ checkpoint/ checkpoint/ +1 more | +90 | 1 reply | |
| 8/10 | Introduce functions to restart a processarch/ arch/ checkpoint/ +4 more | +307 | 41 replies | |
| 9/10 | Introduce functions to restore mmcheckpoint/ checkpoint/ checkpoint/ +4 more | +332 | 1 reply | |
| 10/10 | Add support for multiple processescheckpoint/ checkpoint/ checkpoint/ | +76 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/10] OpenVZ kernel based checkpointing/restart (v2)
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.