diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-06-18 06:39:00 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-06-18 06:39:00 +0000 |
commit | b3d81b2decf6097f08128a154153d8869cbbf34c (patch) | |
tree | 7d4eaca6c44ba7237b218d0650823e6cbdb65067 /config | |
parent | d494adc396fba66889f11f85054b885a21e13a4c (diff) | |
download | mtk-20170518-b3d81b2decf6097f08128a154153d8869cbbf34c.zip mtk-20170518-b3d81b2decf6097f08128a154153d8869cbbf34c.tar.gz mtk-20170518-b3d81b2decf6097f08128a154153d8869cbbf34c.tar.bz2 |
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
Diffstat (limited to 'config')
-rw-r--r-- | config/Config-kernel.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in index cc8df5a..2572bf4 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) |