Re: [RFC] Control Groups Roadmap ideas

From: Paul Menage
Date: Mon Apr 14 2008 - 11:04:18 EST


On Mon, Apr 14, 2008 at 7:11 AM, Serge E. Hallyn <serue@xxxxxxxxxx> wrote:
>
> then all tasks are mapped under /containers. If login does a
> clone(CLONE_NEWNS) for hallyn's login to give him a private /tmp,
> then hallyn ends up under /containers/node_xyz, but we don't want him
> to be virtualized under there. So I assume we'd want a virt.lock file
> or something like that so, that when I create a container, my
> start_container script can echo 1 > /containers/node_abc/virt.lock

Yes, something like that.

>
> I assume the container will also have to remount a fresh copy of the
> cgroup composition so it can have the dentry for /containers/node_abc
> as the root dentry for /containers?

Yes.

Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/