kernel: mitigate cgroups config dependency changes

Memory Resource Controller no longer depends on Resource counters since
Kernel version 4.0.
3.18 is the only still supported version needing Resource counters for
MEMCG, thus declare the dependency only for that version.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 46024
This commit is contained in:
Felix Fietkau 2015-06-18 06:39:00 +00:00
parent d494adc396
commit b3d81b2dec

View File

@ -300,7 +300,7 @@ if KERNEL_CGROUPS
config KERNEL_MEMCG config KERNEL_MEMCG
bool "Memory Resource Controller for Control Groups" bool "Memory Resource Controller for Control Groups"
default n default n
depends on KERNEL_RESOURCE_COUNTERS depends on KERNEL_RESOURCE_COUNTERS || !LINUX_3_18
help help
Provides a memory resource controller that manages both anonymous Provides a memory resource controller that manages both anonymous
memory and page cache. (See Documentation/cgroups/memory.txt) memory and page cache. (See Documentation/cgroups/memory.txt)