[RFC][PATCH 8/8] check files for checkpointability
Serge E. Hallyn
serue at us.ibm.com
Mon Mar 2 09:44:33 PST 2009
Quoting Dave Hansen (dave at linux.vnet.ibm.com):
> On Mon, 2009-03-02 at 11:22 -0600, Nathan Lynch wrote:
> > No.. I mean what if a process 1234 does
> > f = fopen("/proc/1234/stat", "r");
> > and is then checkpointed. Can that path be resolved during restart,
> > before pid 1234 is alive?
> Heh, that's a good one.
> It does mean that we can't do restore like this:
> We have to do:
> -- Dave
Which is what we actually do, right?
Actually we have userspace create the tasks first, and
then each task calls sys_restart which does restore_files().
More information about the Containers