[lxc-devel] [PATCH 0/1] support shmmax/shmall KEY for lxc-execute
    jian at linux.vnet.ibm.com 
    jian at linux.vnet.ibm.com
       
    Fri Jul  6 14:15:00 UTC 2012
    
    
  
From: Jian Xiao <jian at linux.vnet.ibm.com>
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    |  123 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/lxc/conf.h    |    2 +
 src/lxc/confile.c |   32 ++++++++++++++
 3 files changed, 157 insertions(+), 0 deletions(-)
    
    
More information about the lxc-devel
mailing list