Skip to content

oom reaper v6

Michal Hocko linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9sched: add schedule_timeout_idle()include/linux/sched.h kernel/time/timer.c+12 -09 replies
2/9mm, oom: introduce oom reaperinclude/linux/mm.h mm/internal.h mm/memory.c +1 more+162 -132 replies
3/9oom: clear TIF_MEMDIE after oom_reaper managed to unmap the address spaceinclude/linux/oom.h kernel/exit.c mm/oom_kill.c+50 -270 replies
4/9mm, oom_reaper: report success/failuremm/oom_kill.c+14 -20 replies
5/9mm, oom_reaper: implement OOM victims queuinginclude/linux/sched.h mm/oom_kill.c+22 -170 replies
6/9oom, oom_reaper: disable oom_reaper for oom_kill_allocating_taskinclude/linux/sched.h mm/oom_kill.c+7 -10 replies
7/9oom: make oom_reaper_list single linkedinclude/linux/sched.h mm/oom_kill.c+8 -90 replies
8/9oom: make oom_reaper freezablemm/oom_kill.c+2 -00 replies
9/9oom, oom_reaper: protect oom_reaper_list using simpler wayinclude/linux/sched.h mm/oom_kill.c+2 -80 replies

Reviews trailers per patch

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

PatchMichal HockoMel GormanDavid Rientjes
1/9A-b
2/9A-b A-b A-b
3/9
4/9
5/9
6/9
7/9A-b
8/9
9/9A-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/9] oom reaper v6

Hi,
I am reposting the whole patchset on top of the current Linus tree which should already contain big pile of Andrew's mm patches. This should serve an easier reviewability and I also hope that this core part of the work can go to 4.6.

The previous version was posted here [1] Hugh and David have suggested to drop [2] because the munlock path currently depends on the page lock and it is better if the initial version was conservative and prevent from any potential lockups even though it is not clear whether they are real
- nobody has seen oom_reaper stuck on the page lock AFAICK. Me or Hugh will have a look and try to make the munlock path not depend on the page lock as a follow up work.

Apart from that the feedback revealed one bug for a very unusual configuration (sysctl_oom_kill_allocating_task) and that has been fixed by patch 8 and one potential mis interaction with the pm freezer fixed by patch 7.

I think the current code base is already very useful for many situations. The rest of the feedback was mostly about potential enhancements of the current code which I would really prefer to build on top of the current series. I plan to finish my mmap_sem killable for write in the upcoming release cycle and hopefully have it merged in the next merge window. I believe more extensions will follow.

This code has been sitting in the mmotm (thus linux-next) for a while. Are there any fundamental objections to have this part merged in this merge window?

Thanks!

[1] http://lkml.kernel.org/r/[email protected]
[2] http://lkml.kernel.org/r/[email protected]

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>