]> git.baikalelectronics.ru Git - kernel.git/commit
mm, memcg: bypass high reclaim iteration for cgroup hierarchy root
authorChris Down <chris@chrisdown.name>
Tue, 7 Apr 2020 03:03:30 +0000 (20:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2020 17:43:37 +0000 (10:43 -0700)
commit92d0e74eece045f21fad806a14f59b61829980e3
tree3d787e1193e3444b7cc1a18b7274061576844dc9
parenta75e87490ed917c61ddc24d37d50f3069efe4bc0
mm, memcg: bypass high reclaim iteration for cgroup hierarchy root

The root of the hierarchy cannot have high set, so we will never reclaim
based on it.  This makes that clearer and avoids another entry.

Signed-off-by: Chris Down <chris@chrisdown.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Roman Gushchin <guro@fb.com>
Cc: Michal Hocko <mhocko@kernel.org>
Link: http://lkml.kernel.org/r/20200312164137.GA1753625@chrisdown.name
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c