lkml.org 
[lkml]   [2008]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Control Groups Roadmap ideas
On Mon, Apr 14, 2008 at 7:11 AM, Serge E. Hallyn <serue@us.ibm.com> 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


\
 
 \ /
  Last update: 2008-04-14 17:07    [W:0.052 / U:1.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site