Skip to content

assorted oom fixes

Michal Hocko linux-mm lkml sashiko-reviews 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10memcg-v1, oom: do not sleep in worker contextsmm/memcontrol-v1.c+2 -12 replies
2/10mm/oom_kill: keep the allocating mm eligiblemm/oom_kill.c+17 -30 replies
3/10mm, oom: do not panic on constrained OOMsmm/oom_kill.c+4 -30 replies
4/10mm/oom_kill: ratelimit memcg OOM reports with no victimmm/oom_kill.c+14 -20 replies
5/10mm, oom: thaw tasks sharing the mm with the oom victimmm/oom_kill.c+1 -01 reply
6/10mm, oom: check oom victims prior to numa placementmm/oom_kill.c+4 -40 replies
7/10memcg, oom: wait for rcu_call callbacks before retrying reclaimmm/memcontrol.c+4 -13 replies
8/10mm, oom: wait for rcu_call callbacks before retrying reclaimmm/page_alloc.c+3 -02 replies
9/10mm, oom: add rcu_barrier before hiding victim from the oom killermm/mmap.c mm/oom_kill.c+16 -1216 replies
10/10memcg: wake v1 OOM lock contenders on unlockmm/memcontrol-v1.c+7 -20 replies

Reviews trailers per patch

4 of 10 patches have a Reviewed-by or Acked-by.

PatchMichal HockoJoshua HahnLorenzo Stoakes (ARM)
1/10R-b T-b
2/10A-b
3/10
4/10
5/10
6/10
7/10
8/10
9/10R-b
10/10A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/10] assorted oom fixes

Hi David,
these are assorted oom related fixes. There is nothing super critical in there but the patch1 is using a potential UAF for oom_disabled (v1 only feature) situations so I've marked it for stable explicitly. All these are based on Chris Mason's reports so thanks for those!

Patch9 depends on
https://lore.kernel.org/all/[email protected]/
which should be already sitting in the Andrew's queue.

I would still appreciate second pair of eyes on these patches before merging so please take a look David Rientjes and Ben on those oom related and I would appreciate Johannes input especially on memcg specific and the reclaim specific ones.

Thanks a lot!