On Mon, 2009-03-02 at 11:44 -0600, Serge E. Hallyn wrote: > 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(). Quoting: http://git.ncl.cs.columbia.edu/?p=linux-cr.git;a=commitdiff;h=3c1b1900f92ed12f5020a7b566065bffda2908d8;hp=7aec1a8f3345bb33c3f93226c895a45ec269bb59 > Restarting of multiple processes expects all restarting tasks to call > sys_restart(). Once inside the system call, each task will restart > itself at the same order that they were saved. The internals of the > syscall will take care of in-kernel synchronization bewteen tasks. I guess it is OK since everybody sleeps once they enter sys_restart() until the container init decides it is ready to go. -- Dave _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers