Description of problem: Boot latest rawde kernels and you'll find the cgroups memory controller is missing It appears the kcofnig variables have been renamed https://lkml.org/lkml/2012/6/26/365 Version-Release number of selected component (if applicable): 3.6.0-0.rc0.git8.1.fc18 How reproducible: Always Steps to Reproduce: 1. cat /proc/cgroups 2. 3. Actual results: memory controller is missing Expected results: memory controller is present Additional info:
IIUC, this should fix it, but not tested a build yet... diff --git a/config-generic b/config-generic index 3ac2ba9..20024fb 100644 --- a/config-generic +++ b/config-generic @@ -3926,10 +3926,10 @@ CONFIG_CGROUP_CPUACCT=y CONFIG_CGROUP_DEVICE=y CONFIG_CGROUP_FREEZER=y CONFIG_CGROUP_SCHED=y -CONFIG_CGROUP_MEM_RES_CTLR=y -CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y # XXX disabled by default, pass 'swapaccount' -# CONFIG_CGROUP_MEM_RES_CTLR_SWAP_ENABLED is not set -CONFIG_CGROUP_MEM_RES_CTLR_KMEM=y +CONFIG_MEMCG=y +CONFIG_MEMCG_SWAP=y # XXX disabled by default, pass 'swapaccount' +# CONFIG_MEMCG_SWAP_ENABLED is not set +CONFIG_MEMCG_KMEM=y # CONFIG_CGROUP_HUGETLB is not set CONFIG_CGROUP_PERF=y CONFIG_BLK_CGROUP=y
Sigh. Thank you for spotting this. I actually read the help text for CONFIG_MEMCG but didn't realize it was a rename. The blurbs about memory and fork/exit overhead made me leave it off. I guess I'll just flip it back on since we already had it enabled.
Fixed in git. Should be in tomorrow's rawhide.