From: Felix Fietkau Date: Thu, 18 Jun 2015 06:39:00 +0000 (+0000) Subject: kernel: mitigate cgroups config dependency changes X-Git-Tag: reboot~2749 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=b3d81b2decf6097f08128a154153d8869cbbf34c 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 SVN-Revision: 46024 --- diff --git a/config/Config-kernel.in b/config/Config-kernel.in index cc8df5ae56..2572bf45ef 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -300,7 +300,7 @@ if KERNEL_CGROUPS config KERNEL_MEMCG bool "Memory Resource Controller for Control Groups" default n - depends on KERNEL_RESOURCE_COUNTERS + depends on KERNEL_RESOURCE_COUNTERS || !LINUX_3_18 help Provides a memory resource controller that manages both anonymous memory and page cache. (See Documentation/cgroups/memory.txt)