diff options
author | Roman Gushchin <guro@fb.com> | 2018-06-08 02:06:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-08 02:34:35 +0200 |
commit | 5f93ad67436b3da8312db5ad4eedfa739c00787f (patch) | |
tree | 6499c9b2ddd1bb2ef589837e58e14c97aec0bea6 /Documentation/admin-guide/cgroup-v2.rst | |
parent | mm: memory.low hierarchical behavior (diff) | |
download | linux-5f93ad67436b3da8312db5ad4eedfa739c00787f.tar.xz linux-5f93ad67436b3da8312db5ad4eedfa739c00787f.zip |
mm: treat memory.low value inclusive
If memcg's usage is equal to the memory.low value, avoid reclaiming from
this cgroup while there is a surplus of reclaimable memory.
This sounds more logical and also matches memory.high and memory.max
behavior: both are inclusive.
Empty cgroups are not considered protected, so MEMCG_LOW events are not
emitted for empty cgroups, if there is no more reclaimable memory in the
system.
Link: http://lkml.kernel.org/r/20180406122132.GA7185@castle
Signed-off-by: Roman Gushchin <guro@fb.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions