From: Jian Xiao <j...@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(-) ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel