]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Documentation/memcg: update memcg/kmem status
authorVladimir Davydov <vdavydov@parallels.com>
Wed, 1 Apr 2015 14:30:36 +0000 (17:30 +0300)
committerJonathan Corbet <corbet@lwn.net>
Sat, 11 Apr 2015 13:23:31 +0000 (15:23 +0200)
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>
Documentation/cgroups/memory.txt
init/Kconfig

index a22df3ad35fff8a43d78517f790a9822aa5d8d55..f456b4315e86d80abe8d4d0b4fbb68eeca5b4e4a 100644 (file)
@@ -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
index f5dbc6d4261bcb47e7d7dccfa6385f649ecefa0a..115051093d2fb02f2b9fc68638fe49c260d9fc42 100644 (file)
@@ -1032,12 +1032,6 @@ config MEMCG_KMEM
          the kmem extension can use it to guarantee that no group of processes
          will ever exhaust kernel resources alone.
 
-         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.
-
 config CGROUP_HUGETLB
        bool "HugeTLB Resource Controller for Control Groups"
        depends on HUGETLB_PAGE