mbox series

[v2,0/2] mm: memcontrol: memory.{low,min} reclaim fix & cleanup

Message ID 20200502135910.7255-1-laoar.shao@gmail.com (mailing list archive)
Headers show
Series mm: memcontrol: memory.{low,min} reclaim fix & cleanup | expand

Message

Yafang Shao May 2, 2020, 1:59 p.m. UTC
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.

[chris@chrisdown.name: commit log above]

Changes since v1:
work around the stale protection values in mem_cgroup_protection(), rather
than in mem_cgroup_protected().

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 | 85 ++++++++++++++++++++++++++++++++------
 mm/memcontrol.c            | 36 +++++++---------
 mm/vmscan.c                | 20 +++------
 3 files changed, 93 insertions(+), 48 deletions(-)