Messages in this thread | | | Date | Fri, 8 Jun 2007 09:16:45 -0700 | From | "Paul Menage" <> | Subject | Re: [ckrm-tech] [PATCH 00/10] Containers(V10): Generic Process Containers |
| |
On 6/8/07, Serge E. Hallyn <serge@hallyn.com> wrote: > > The problem is container_clone() doesn't call ->create explicitly, it > does vfs_mkdir. So we have no real way of passing in clone_task. >
Good point.
Looking at vfs_mkdir(), it's pretty simple, and really the only bits that apply to container_clone() are the call to ->mkdir() and possibly the call to fsnotify_mkdir(). (I think that's maybe how you did it originally?)
Maybe it would make sense to just call container_create() at that point directly, which would allow us more parameters.
Paul - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |