From f9689c3868fba04e09488426c1b927d1d7c233bd Mon Sep 17 00:00:00 2001 From: Steeve Morin Date: Mon, 9 Dec 2013 03:32:27 +0100 Subject: [PATCH] Enable Memory and Swap cgroups. Closes #24 --- base/kernel_config | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/base/kernel_config b/base/kernel_config index 7e016cf3d8..d93965ae77 100644 --- a/base/kernel_config +++ b/base/kernel_config @@ -141,7 +141,10 @@ CONFIG_CPUSETS=y CONFIG_PROC_PID_CPUSET=y CONFIG_CGROUP_CPUACCT=y CONFIG_RESOURCE_COUNTERS=y -# CONFIG_MEMCG is not set +CONFIG_MEMCG=y +CONFIG_MEMCG_SWAP=y +CONFIG_MEMCG_SWAP_ENABLED=y +CONFIG_MEMCG_KMEM=y CONFIG_CGROUP_PERF=y CONFIG_CGROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y @@ -156,6 +159,7 @@ CONFIG_IPC_NS=y CONFIG_USER_NS=y CONFIG_PID_NS=y CONFIG_NET_NS=y +CONFIG_MM_OWNER=y CONFIG_UIDGID_STRICT_TYPE_CHECKS=y CONFIG_SCHED_AUTOGROUP=y # CONFIG_SYSFS_DEPRECATED is not set