[lxc-devel] [PATCH 3/8] cgroup: introduce cgroup namespaces

2016-01-29 Thread serge . hallyn
From: Aditya Kali Introduce the ability to create new cgroup namespace. The newly created cgroup namespace remembers the cgroup of the process at the point of creation of the cgroup namespace (referred as cgroupns-root). The main purpose of cgroup namespace is to

Re: [lxc-devel] [PATCH 3/8] cgroup: introduce cgroup namespaces

2016-01-06 Thread Johannes Weiner
On Mon, Jan 04, 2016 at 02:20:53PM -0600, Serge E. Hallyn wrote: > On Mon, Jan 04, 2016 at 01:54:48PM -0600, serge.hal...@ubuntu.com wrote: > > @@ -2166,6 +2178,43 @@ static struct file_system_type cgroup2_fs_type = { > > .kill_sb = cgroup_kill_sb, > > }; > > > > +char * > > Sorry, that

Re: [lxc-devel] [PATCH 3/8] cgroup: introduce cgroup namespaces

2016-01-04 Thread Serge E. Hallyn
On Mon, Jan 04, 2016 at 01:54:48PM -0600, serge.hal...@ubuntu.com wrote: > From: Aditya Kali > > Introduce the ability to create new cgroup namespace. The newly created > cgroup namespace remembers the cgroup of the process at the point > of creation of the cgroup

[lxc-devel] [PATCH 3/8] cgroup: introduce cgroup namespaces

2016-01-04 Thread serge . hallyn
From: Aditya Kali Introduce the ability to create new cgroup namespace. The newly created cgroup namespace remembers the cgroup of the process at the point of creation of the cgroup namespace (referred as cgroupns-root). The main purpose of cgroup namespace is to

Re: [lxc-devel] [PATCH 3/8] cgroup: introduce cgroup namespaces

2015-12-23 Thread Tejun Heo
Hello, On Tue, Dec 22, 2015 at 10:23:24PM -0600, serge.hal...@ubuntu.com wrote: ... > +char *cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen) > +{ > + int ret; > + > + ret = cgroup_path_ns(cgrp, buf, buflen, current->nsproxy->cgroup_ns); > + if (ret < 0 || ret >=

[lxc-devel] [PATCH 3/8] cgroup: introduce cgroup namespaces

2015-12-22 Thread serge . hallyn
From: Aditya Kali Introduce the ability to create new cgroup namespace. The newly created cgroup namespace remembers the cgroup of the process at the point of creation of the cgroup namespace (referred as cgroupns-root). The main purpose of cgroup namespace is to

[lxc-devel] [PATCH 3/8] cgroup: introduce cgroup namespaces

2015-12-09 Thread serge . hallyn
From: Aditya Kali Introduce the ability to create new cgroup namespace. The newly created cgroup namespace remembers the cgroup of the process at the point of creation of the cgroup namespace (referred as cgroupns-root). The main purpose of cgroup namespace is to