On Fri, May 22, 2015 at 6:19 PM, walt <[email protected]> wrote: > On 05/22/2015 02:38 PM, Tom H wrote: >> On Fri, May 22, 2015 at 5:13 PM, walt <[email protected]> wrote: >>> On 05/22/2015 06:32 AM, Mick wrote: >>>> >>>> Did you also enable CONFIG_MEMCG & MEMCG_KMEM in your kernel? >>> >>> When I use the search function in "make menuconfig" I don't see any mention >>> of MEMCG, so I suspect that particular config item must be enabled by some >>> other config option that I didn't enable (though I don't remember making >>> that decision one way or the other). >>> >>> I'm running gentoo-sources-3.14.42. >> >> You must've mistype your search: >> >> $ grep MEMCG init/Kconfig >> config MEMCG >> config MEMCG_SWAP >> depends on MEMCG && SWAP >> config MEMCG_SWAP_ENABLED >> depends on MEMCG_SWAP >> config MEMCG_KMEM >> depends on MEMCG >> recommended that the MEMCG and MEMCG_KMEM options also be >> >> The above was from 4.1.0-rc4 but AFAIK it's existed for 2 or 3 years >> so you should have it in 3.14. > > Yes, I agree that MEMCG has been in the kernel source code for years. > > I want to emphasize (for any future googlers) that the selection (or > de-selection) of kernel config options can change what you can find > or can't find when configuring kernel options in "make menuconfig".
But no matter what you've selected, "/MEMCG" within "make menuconfig" will find configs that contain "MEMCG".

