[Devel] Re: [RFC v14-rc2][PATCH 3/7] sysvipc-shm: checkpoint
Serge E. Hallyn
serue at us.ibm.com
Tue Mar 31 13:06:58 PDT 2009
Quoting Oren Laadan (orenl at cs.columbia.edu):
...
> int cr_write_ipc(struct cr_ctx *ctx, struct nsproxy *nsproxy)
> {
> - return 0;
> + return cr_write_ipc_shm(ctx, nsproxy->ipc_ns);
> }
What is the plan for implementing support for nested ipc namespaces,
since all ipc data is currently stored as a single global checkpoint
property before the task data?
Are you figuring you'll just do cr_write_ipc_shm() for all nsproxies
which are part of the checkpoint image, and store an ipc_ns id
or nsproxy id alongside it, so that at restart you just recreate all
the ipc namespaces ahead of time, then attach the tasks to their
target namespaces as they are created?
Just wondering... as it stands the code looks more like it *wants*
to be targeted at only one ipcns per checkpoint image.
-serge
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list