diff options
author | Vladimir Davydov <vdavydov@parallels.com> | 2015-04-01 17:30:36 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2015-04-11 15:23:31 +0200 |
commit | 197175427a221fe3200f7727ea35e261727e7228 (patch) | |
tree | 4ed58a8512f9bc41908727859c6694a86466830e /Documentation/cgroups | |
parent | 82c91e87642dd6f88b9d9b1e5cc09232b6701eb0 (diff) | |
download | op-kernel-dev-197175427a221fe3200f7727ea35e261727e7228.zip op-kernel-dev-197175427a221fe3200f7727ea35e261727e7228.tar.gz |
Documentation/memcg: update memcg/kmem status
Memcg/kmem reclaim support has been finally merged. Reflect this in the
documentation.
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/cgroups')
-rw-r--r-- | Documentation/cgroups/memory.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Documentation/cgroups/memory.txt b/Documentation/cgroups/memory.txt index a22df3a..f456b43 100644 --- a/Documentation/cgroups/memory.txt +++ b/Documentation/cgroups/memory.txt @@ -275,11 +275,6 @@ When oom event notifier is registered, event will be delivered. 2.7 Kernel Memory Extension (CONFIG_MEMCG_KMEM) -WARNING: Current implementation lacks reclaim support. That means allocation - attempts will fail when close to the limit even if there are plenty of - kmem available for reclaim. That makes this option unusable in real - life so DO NOT SELECT IT unless for development purposes. - With the Kernel memory extension, the Memory Controller is able to limit the amount of kernel memory used by the system. Kernel memory is fundamentally different than user memory, since it can't be swapped out, which makes it @@ -345,6 +340,9 @@ set: In this case, the admin could set up K so that the sum of all groups is never greater than the total memory, and freely set U at the cost of his QoS. + WARNING: In the current implementation, memory reclaim will NOT be + triggered for a cgroup when it hits K while staying below U, which makes + this setup impractical. U != 0, K >= U: Since kmem charges will also be fed to the user counter and reclaim will be |