aboutsummaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorVladimir Davydov <vdavydov@parallels.com>2014-06-04 19:07:28 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 19:54:00 -0400
commit2ee06468702e0742114823a537510cd6f038cacc (patch)
tree223fa43073e8b6e500a0abeb52c690beea173498 /init/Kconfig
parent613813e8985bb76bd27937bfa54faf9e9be95a52 (diff)
Documentation/memcg: warn about incomplete kmemcg state
Kmemcg is currently under development and lacks some important features. In particular, it does not have support of kmem reclaim on memory pressure inside cgroup, which practically makes it unusable in real life. Let's warn about it in both Kconfig and Documentation to prevent complaints arising. Signed-off-by: Vladimir Davydov <vdavydov@parallels.com> Acked-by: Michal Hocko <mhocko@suse.cz> Cc: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 9d3585bb2a7a..4a1822a1a680 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -996,6 +996,12 @@ config MEMCG_KMEM
996 the kmem extension can use it to guarantee that no group of processes 996 the kmem extension can use it to guarantee that no group of processes
997 will ever exhaust kernel resources alone. 997 will ever exhaust kernel resources alone.
998 998
999 WARNING: Current implementation lacks reclaim support. That means
1000 allocation attempts will fail when close to the limit even if there
1001 are plenty of kmem available for reclaim. That makes this option
1002 unusable in real life so DO NOT SELECT IT unless for development
1003 purposes.
1004
999config CGROUP_HUGETLB 1005config CGROUP_HUGETLB
1000 bool "HugeTLB Resource Controller for Control Groups" 1006 bool "HugeTLB Resource Controller for Control Groups"
1001 depends on RESOURCE_COUNTERS && HUGETLB_PAGE 1007 depends on RESOURCE_COUNTERS && HUGETLB_PAGE