Commits
Alexey Kuznetsov authored and Pavel Emelianov committed f90c2c31846
[CPT] alternative way to migrate zombie processes In older 2.6.8 kernels do_exit() was very simple, essentially it disposed m etc, which is done automatically while checkpointing, and did some work on notifying parent. So that it was natural to move restored process to zombie state by hands. In 2.6.18 do_exit makes _lots_ of work. Seems, it is easier to invert logic. We introduce new flag PF_RESTART_EXIT, which suppresses the work which was already done, when process at source hardware node moved to zombie state (mostly, sending signals) and use do_exit() when restoring zombie processes. Also, the same patch adds checks for a few of new things, which cannot be migrated, it is related because the list of those things obtained from do_exit().