diff options
author | Vladimir Davydov <vdavydov@parallels.com> | 2014-06-04 19:07:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 19:54:00 -0400 |
commit | 2ee06468702e0742114823a537510cd6f038cacc (patch) | |
tree | 223fa43073e8b6e500a0abeb52c690beea173498 /Documentation/cgroups | |
parent | 613813e8985bb76bd27937bfa54faf9e9be95a52 (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 'Documentation/cgroups')
-rw-r--r-- | Documentation/cgroups/memory.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/cgroups/memory.txt b/Documentation/cgroups/memory.txt index 1829c65f8371..4937e6fff9b4 100644 --- a/Documentation/cgroups/memory.txt +++ b/Documentation/cgroups/memory.txt | |||
@@ -270,6 +270,11 @@ When oom event notifier is registered, event will be delivered. | |||
270 | 270 | ||
271 | 2.7 Kernel Memory Extension (CONFIG_MEMCG_KMEM) | 271 | 2.7 Kernel Memory Extension (CONFIG_MEMCG_KMEM) |
272 | 272 | ||
273 | WARNING: Current implementation lacks reclaim support. That means allocation | ||
274 | attempts will fail when close to the limit even if there are plenty of | ||
275 | kmem available for reclaim. That makes this option unusable in real | ||
276 | life so DO NOT SELECT IT unless for development purposes. | ||
277 | |||
273 | With the Kernel memory extension, the Memory Controller is able to limit | 278 | With the Kernel memory extension, the Memory Controller is able to limit |
274 | the amount of kernel memory used by the system. Kernel memory is fundamentally | 279 | the amount of kernel memory used by the system. Kernel memory is fundamentally |
275 | different than user memory, since it can't be swapped out, which makes it | 280 | different than user memory, since it can't be swapped out, which makes it |