linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mm: memcontrol: memory.{low,min} reclaim fix & cleanup
@ 2020-05-02 13:59 Yafang Shao
  2020-05-02 13:59 ` [PATCH v2 1/2] mm, memcg: Avoid stale protection values when cgroup is above protection Yafang Shao
  2020-05-02 13:59 ` [PATCH v2 2/2] mm, memcg: Decouple e{low,min} state mutations from protection checks Yafang Shao
  0 siblings, 2 replies; 6+ messages in thread
From: Yafang Shao @ 2020-05-02 13:59 UTC (permalink / raw)
  To: akpm; +Cc: mhocko, hannes, chris, guro, linux-mm, Yafang Shao

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(-)

-- 
2.18.2



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-05-04  7:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-02 13:59 [PATCH v2 0/2] mm: memcontrol: memory.{low,min} reclaim fix & cleanup Yafang Shao
2020-05-02 13:59 ` [PATCH v2 1/2] mm, memcg: Avoid stale protection values when cgroup is above protection Yafang Shao
2020-05-02 14:12   ` Chris Down
2020-05-02 14:44   ` Johannes Weiner
2020-05-04  7:52   ` Michal Hocko
2020-05-02 13:59 ` [PATCH v2 2/2] mm, memcg: Decouple e{low,min} state mutations from protection checks Yafang Shao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox