]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit4bf173072cd69cb2e059d710429dc6c46c896548
tree3d787e1193e3444b7cc1a18b7274061576844dc9
parent7e63420847ae5f1036e4f7c42f0b3282e73efbc2
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