Re: [lxc-devel] [PATCH v2 1/1] support shmmax/shmall KEY for lxc-execute

2012-07-07 Thread Serge Hallyn
Quoting j...@linux.vnet.ibm.com (j...@linux.vnet.ibm.com): > From: Jian Xiao > > Signed-off-by: Jian Xiao Thanks, Jian. Looks great. Acked-by: Serge Hallyn -serge > --- > src/lxc/conf.c| 77 > + > src/lxc/conf.h|2 + > src

[lxc-devel] [PATCH v2 0/1] support shmmax/shmall KEY for lxc-execute

2012-07-07 Thread jian
From: Jian Xiao Thanks Serge for the comments. Here is version 2. Often system admin needs to change /proc/sys/kernel/shmmax and shmall values to run a job. These values are not inherited by container and needs to be passed to container when starting the job. This patch adds "lxc.shmmax" and "l

[lxc-devel] [PATCH v2 1/1] support shmmax/shmall KEY for lxc-execute

2012-07-07 Thread jian
From: Jian Xiao Signed-off-by: Jian Xiao --- src/lxc/conf.c| 77 + src/lxc/conf.h|2 + src/lxc/confile.c | 32 ++ 3 files changed, 111 insertions(+), 0 deletions(-) diff --git a/src/lxc/conf.c b/src/lxc/con