cgroups configs review
Bryan Wu
bryan.wu at canonical.com
Fri Jun 22 08:01:24 UTC 2012
Hi Serge and Stefan,
I've been reviewing cgroups configs for a while and help to sync ARM
cgroups configs with x86.
So right now in our Ubuntu kernel master-next branch, cgroups configs
should be all enabled for LXC usage:
--
ubuntu/quantal.git$ grep -r CGROUP debian.master/config/
debian.master/config/config.common.ubuntu:CONFIG_BLK_CGROUP=y
debian.master/config/config.common.ubuntu:CONFIG_CGROUPS=y
debian.master/config/config.common.ubuntu:CONFIG_CGROUP_CPUACCT=y
This is for debugging
debian.master/config/config.common.ubuntu:# CONFIG_CGROUP_DEBUG is not set
debian.master/config/config.common.ubuntu:CONFIG_CGROUP_DEVICE=y
debian.master/config/config.common.ubuntu:CONFIG_CGROUP_FREEZER=y
debian.master/config/config.common.ubuntu:CONFIG_CGROUP_MEM_RES_CTLR=y
This one is experimental
debian.master/config/config.common.ubuntu:#
CONFIG_CGROUP_MEM_RES_CTLR_KMEM is not set
debian.master/config/config.common.ubuntu:CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
debian.master/config/config.common.ubuntu:CONFIG_CGROUP_MEM_RES_CTLR_SWAP_ENABLED=y
debian.master/config/config.common.ubuntu:CONFIG_CGROUP_PERF=y
debian.master/config/config.common.ubuntu:CONFIG_CGROUP_SCHED=y
This is for debugging
debian.master/config/config.common.ubuntu:# CONFIG_DEBUG_BLK_CGROUP is not set
These 2 are for networking cgroups, I'm not sure whether we need
built-in these 2 in kernel.
debian.master/config/config.common.ubuntu:CONFIG_NETPRIO_CGROUP=m
debian.master/config/config.common.ubuntu:CONFIG_NET_CLS_CGROUP=m
--
And for ti-omap4 branch we got the same CGROUPS configs as master now.
Thanks,
--
Bryan Wu <bryan.wu at canonical.com>
Kernel Developer +86.186-168-78255 Mobile
Canonical Ltd. www.canonical.com
Ubuntu - Linux for human beings | www.ubuntu.com
More information about the kernel-team
mailing list