[PATCH v4 0/2] mm, memcg: memory.{low,min} reclaim fix & cleanup

From: Chris Down
Date: Mon Jul 13 2020 - 07:05:03 EST


This series contains a fix for a edge case in my earlier protection
calculation patches, and a patch to make the area overall a little more
robust to hopefully help avoid this in future.

Changes in v4:

- Fix premature OOM when checking protection on root memcg. Thanks
Naresh and Michal for helping debug.

Chris Down (1):
mm, memcg: Decouple e{low,min} state mutations from protection checks

Yafang Shao (1):
mm, memcg: Avoid stale protection values when cgroup is above
protection

include/linux/memcontrol.h | 95 ++++++++++++++++++++++++++++++++------
mm/memcontrol.c | 36 ++++++---------
mm/vmscan.c | 20 +++-----
3 files changed, 103 insertions(+), 48 deletions(-)

--
2.27.0