[lxc-devel] [PATCH v2 0/1] support shmmax/shmall KEY for lxc-execute
jian at linux.vnet.ibm.com
jian at linux.vnet.ibm.com
Sat Jul 7 20:50:23 UTC 2012
From: Jian Xiao <jian at linux.vnet.ibm.com>
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 "lxc.shmall" configuration variable
for lxc-execute "-s" or "-r" option. With this, user could run a job in
container with desired shmmax and shmall value.
Jian Xiao (1):
support shmmax/shmall KEY for lxc-execute
src/lxc/conf.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++
src/lxc/conf.h | 2 +
src/lxc/confile.c | 32 ++++++++++++++++++++++
3 files changed, 111 insertions(+), 0 deletions(-)
More information about the lxc-devel
mailing list