[PATCH] mmotm: memcg-doc-clarify-global-vs-limit-reclaims-fix.patch

From: Michal Hocko
Date: Fri May 02 2014 - 05:42:35 EST


update doc as per Johannes

Signed-off-by: Michal Hocko <mhocko@xxxxxxx>
---
Documentation/cgroups/memory.txt | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/Documentation/cgroups/memory.txt b/Documentation/cgroups/memory.txt
index add1be001416..2cde96787ceb 100644
--- a/Documentation/cgroups/memory.txt
+++ b/Documentation/cgroups/memory.txt
@@ -241,17 +241,9 @@ global VM. Cgroups can get reclaimed basically under two conditions
proportionally wrt. their LRU size in a round robin fashion
- when a cgroup or its hierarchical parent (see 6. Hierarchical support)
hits hard limit. If the reclaim is unsuccessful, an OOM routine is invoked
- to select and kill the bulkiest task in the cgroup. (See 10. OOM Control
+ to select and kill the bulkiest task in the hiearchy. (See 10. OOM Control
below.)

-Global and hard-limit reclaims share the same code the only difference
-is the objective of the reclaim. The global reclaim aims at balancing
-zones' watermarks while the limit reclaim frees some memory to allow new
-charges.
-
-NOTE: Hard limit reclaim does not work for the root cgroup, since we cannot set
-any limits on the root cgroup.
-
Note2: When panic_on_oom is set to "2", the whole system will panic.

When oom event notifier is registered, event will be delivered to the root
--
2.0.0.rc0

--
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/