Difference between revisions of "Freezing the tree"

From CRIU
Jump to navigation Jump to search
(rm level1 header, fix English, add see also)
Line 2: Line 2:
 
[[Category:Empty articles]]
 
[[Category:Empty articles]]
  
= Overview =
+
Before we can start checkpointing processes, we have to make sure that they will not produce new children processes which would escape from dumping procedure. In other words, the process tree must be persistent while we are dumping it. While sounds trivial in theory, it is problematic in real life. The checkpoint is supposed to be transparent to the application we are dumping, thus it must not notice any change in process state transition. Traditionally, processes are stopped with the stop signal. But we have a better choice - [https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-subsystem.txt a freezer cgroup].
  
Before we can start checkpointing processes we have to be sure that they will not produce new children processes which would escaped from dumping procedure. In other words the process tree must be persistent while we are dumping it. While sounds trivial in became problematic in real life. The checkpoint it supposed to be transparent to the application we are dumping thus it must not notice any change in process state transition. Traditionally processes are stopped with stop signal. But we have a better choise - [https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-subsystem.txt a freezer cgroup].
+
== External links ==
 +
 
 +
* https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-subsystem.txt

Revision as of 23:37, 19 September 2016


Before we can start checkpointing processes, we have to make sure that they will not produce new children processes which would escape from dumping procedure. In other words, the process tree must be persistent while we are dumping it. While sounds trivial in theory, it is problematic in real life. The checkpoint is supposed to be transparent to the application we are dumping, thus it must not notice any change in process state transition. Traditionally, processes are stopped with the stop signal. But we have a better choice - a freezer cgroup.

External links