Skip to content

Soft limit memory management bug fixes

Tim Chen cgroups linux-mm lkml oe-lkp 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 30 repliesIn review
  2. v13 patches 5 repliesSuperseded

Changelog from the cover letter

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.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm: Fix dropped memcg from mem cgroup soft limit treemm/memcontrol.c+5 -19 replies
2/3mm: Force update of mem cgroup soft limit tree on usage excessmm/memcontrol.c+9 -214 replies
3/3mm: Fix missing mem cgroup soft limit tree updatesmm/memcontrol.c+9 -17 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchYing HuangMichal Hocko
1/3R-b A-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] Soft limit memory management bug fixes

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(-)
Signature · 1 line
2.20.1