Re: [lxc-devel] cgroup cpuacct enhancement

2011-10-06 Thread Greg Kurz
On Thu, 2011-10-06 at 15:12 -0700, martin.pe...@bull.com wrote: > Marian, > Thanks for the info. Paul Menage also directed me to > contain...@lists.linux-foundation.org. I'm having a hard time finding > out how to subscribe to that list. Do you know the procedure? > Thanks, > Martin Hi Mart

Re: [lxc-devel] cgroup cpuacct enhancement

2011-10-06 Thread Martin . Perry
Marian, Thanks for the info. Paul Menage also directed me to containers@ lists.linux-foundation.org. I'm having a hard time finding out how to subscribe to that list. Do you know the procedure? Thanks, Martin Marian Marinov 10/04/2011 07:36 PM To lxc-devel@lists.sourceforge.net cc Subj

Re: [lxc-devel] [PATCH] lxc_cgroup_append_task_3of3()

2011-10-06 Thread Greg Kurz
On Thu, 2011-10-06 at 15:00 +0200, "Axel Schöner" wrote: > diff --git a/src/lxc/lxc_attach.c b/src/lxc/lxc_attach.c > index ed3d5a4..65cb101 100644 > --- a/src/lxc/lxc_attach.c > +++ b/src/lxc/lxc_attach.c > @@ -85,7 +85,7 @@ int main(int argc, char *argv[], char *envp[]) > > curdir = get_

Re: [lxc-devel] [PATCH] lxc_cgroup_append_task_2of3() helper_2of2

2011-10-06 Thread Greg Kurz
On Thu, 2011-10-06 at 15:00 +0200, "Axel Schöner" wrote: > diff --git a/src/lxc/namespace.h b/src/lxc/namespace.h > index 9c6b7ec..cda6c50 100644 > --- a/src/lxc/namespace.h > +++ b/src/lxc/namespace.h > @@ -49,6 +49,7 @@ > #endif > > extern pid_t lxc_clone(int (*fn)(void *), void *arg, int flag

Re: [lxc-devel] [PATCH] lxc_cgroup_append_task_1of3() helper_1of2

2011-10-06 Thread Greg Kurz
On Thu, 2011-10-06 at 14:59 +0200, "Axel Schöner" wrote: > Hi, > > the new patchset consists of 3 patches: > patch_1of3_lxc_cgroup_append_task_helper_cgroup > patch_2of3_lxc_cgroup_append_task_helper_namespace > patch_3of3_lxc_cgroup_append_task_in_lxc_attach > > I hope it is much better now. > T

[lxc-devel] [PATCH] lxc_cgroup_append_task_3of3()

2011-10-06 Thread Axel Schöner
diff --git a/src/lxc/lxc_attach.c b/src/lxc/lxc_attach.c index ed3d5a4..65cb101 100644 --- a/src/lxc/lxc_attach.c +++ b/src/lxc/lxc_attach.c @@ -85,7 +85,7 @@ int main(int argc, char *argv[], char *envp[]) curdir = get_current_dir_name(); - ret = lxc_attach(pid); + ret = lxc

[lxc-devel] [PATCH] lxc_cgroup_append_task_2of3() helper_2of2

2011-10-06 Thread Axel Schöner
diff --git a/src/lxc/namespace.h b/src/lxc/namespace.h index 9c6b7ec..cda6c50 100644 --- a/src/lxc/namespace.h +++ b/src/lxc/namespace.h @@ -49,6 +49,7 @@ #endif extern pid_t lxc_clone(int (*fn)(void *), void *arg, int flags); -extern int lxc_attach(pid_t pid); +extern int lxc_attach(pid_t pid,

[lxc-devel] [PATCH] lxc_cgroup_append_task_1of3() helper_1of2

2011-10-06 Thread Axel Schöner
Hi, the new patchset consists of 3 patches: patch_1of3_lxc_cgroup_append_task_helper_cgroup patch_2of3_lxc_cgroup_append_task_helper_namespace patch_3of3_lxc_cgroup_append_task_in_lxc_attach I hope it is much better now. Thanks to Greg diff --git a/src/lxc/cgroup.h b/src/lxc/cgroup.h index 188

Re: [lxc-devel] [PATCH] Importance for adding pids of lxc-attach to the cgroup of container

2011-10-06 Thread Greg Kurz
On Wed, 2011-10-05 at 20:46 +0200, "Axel Schöner" wrote: > I've submitted a patch-set a few days before, but i didn't get any feedback > yet. > Hi Axel, I guess there are too few people using lxc-attach for the moment... > The reason for this patch is, by using "lxc-attach" to enter the namespa