mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 20:08:54 +00:00
libcontainer limits the memory+swap usage by writing the limit at /sys/fs/cgroup/memory/docker/$CONTID/memory.memsw.limit_in_bytes, this path doesn't exist if CONFIG_MEMCG_SWAP and CONFIG_MEMCG_SWAP_ENABLED are not enabled. fixes #103 Signed-off-by: Julio Montes <julio.montes@intel.com>
How to use config files
config files must be copied in the kernel source code directory and renamed to .config
For example:
cp x86_kata_kvm_4.14.x linux-4.14.22/.config
pushd linux-4.14.22
make ARCH=x86_64 -j4
How to modify config files
cp x86_kata_kvm_4.14.x linux-4.14.22/.config
pushd linux-4.14.22
make menuconfig
popd
cp linux-4.14.22/.config x86_kata_kvm_4.14.x