1 |
On Fri, May 22, 2015 at 6:19 PM, walt <w41ter@×××××.com> wrote: |
2 |
> On 05/22/2015 02:38 PM, Tom H wrote: |
3 |
>> On Fri, May 22, 2015 at 5:13 PM, walt <w41ter@×××××.com> wrote: |
4 |
>>> On 05/22/2015 06:32 AM, Mick wrote: |
5 |
>>>> |
6 |
>>>> Did you also enable CONFIG_MEMCG & MEMCG_KMEM in your kernel? |
7 |
>>> |
8 |
>>> When I use the search function in "make menuconfig" I don't see any mention |
9 |
>>> of MEMCG, so I suspect that particular config item must be enabled by some |
10 |
>>> other config option that I didn't enable (though I don't remember making |
11 |
>>> that decision one way or the other). |
12 |
>>> |
13 |
>>> I'm running gentoo-sources-3.14.42. |
14 |
>> |
15 |
>> You must've mistype your search: |
16 |
>> |
17 |
>> $ grep MEMCG init/Kconfig |
18 |
>> config MEMCG |
19 |
>> config MEMCG_SWAP |
20 |
>> depends on MEMCG && SWAP |
21 |
>> config MEMCG_SWAP_ENABLED |
22 |
>> depends on MEMCG_SWAP |
23 |
>> config MEMCG_KMEM |
24 |
>> depends on MEMCG |
25 |
>> recommended that the MEMCG and MEMCG_KMEM options also be |
26 |
>> |
27 |
>> The above was from 4.1.0-rc4 but AFAIK it's existed for 2 or 3 years |
28 |
>> so you should have it in 3.14. |
29 |
> |
30 |
> Yes, I agree that MEMCG has been in the kernel source code for years. |
31 |
> |
32 |
> I want to emphasize (for any future googlers) that the selection (or |
33 |
> de-selection) of kernel config options can change what you can find |
34 |
> or can't find when configuring kernel options in "make menuconfig". |
35 |
|
36 |
But no matter what you've selected, "/MEMCG" within "make menuconfig" |
37 |
will find configs that contain "MEMCG". |