mbox series

[v2,0/3] Soft limit memory management bug fixes

Message ID cover.1613584277.git.tim.c.chen@linux.intel.com (mailing list archive)
Headers show
Series Soft limit memory management bug fixes | expand

Message

Tim Chen Feb. 17, 2021, 8:41 p.m. UTC
During testing of tiered memory management based on memory soft limit,
I found three issues with memory management using cgroup based soft
limit in the mainline code.  Fix the issues with the three patches in
this series.  Also updated patch 3 per Johannes' comments on the first
version of this patch.

Thanks.

Tim

Changelog:
v2
1. Do soft limit tree uncharge update in batch of the same node only
for v1 cgroups that have a soft limit.  Batching in nodes is only
relevant for cgroup v1 that has per node soft limit tree. 

Tim Chen (3):
  mm: Fix dropped memcg from mem cgroup soft limit tree
  mm: Force update of mem cgroup soft limit tree on usage excess
  mm: Fix missing mem cgroup soft limit tree updates

 mm/memcontrol.c | 27 +++++++++++++++++++++++----
 1 file changed, 23 insertions(+), 4 deletions(-)