]> 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)
commite766b70a9c158a440e75cb86e95b60a67c12bf51
tree3d787e1193e3444b7cc1a18b7274061576844dc9
parentaa6bea1ebb63227fd588509040b9980b1aa3b791
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