[lkml]   [2014]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 0/4] OOM vs PM freezer fixes
For some reason this is the previous version of the cover letter. I had
some issues with git send-email which was failing for me. Anyway, this
is the correct cover. Sorry about the cofusion.

this is another attempt to address OOM vs. PM interaction. More
about the issue is described in the last patch. The other 4 patches
are just clean ups. This is based on top of 3.18-rc3 + Johannes' which is not in the
Andrew's tree yet but I wanted to prevent from later merge conflicts.

The previous version of the main patch (5th one) was posted here: This version has
hopefully addressed all the points raised by Tejun in the previous
version. Namely
- checkpatch fixes + printk -> pr_* changes in the respective
- more comments added to clarify subtle interactions
- oom_killer_disable(), unmark_tsk_oom_victim changed into
wait_even API which is easier to use

Both OOM killer and the PM freezer are really subtle so I would really
appreciate a throughout review here. I still haven't changed lowmemory
killer which is abusing TIF_MEMDIE yet and it would break this code
(oom_victims counter balance) and I plan to look at it as soon as the
rest of the of the series is OK and agreed as a way to go. So there will
be at least one more patch for the final submission.


Michal Hocko (5):
oom: add helpers for setting and clearing TIF_MEMDIE
OOM: thaw the OOM victim if it is frozen
PM: convert printk to pr_* equivalent
sysrq: convert printk to pr_* equivalent
OOM, PM: make OOM detection in the freezer path raceless

And diffstat:
drivers/tty/sysrq.c | 23 ++++----
include/linux/oom.h | 18 +++----
kernel/exit.c | 3 +-
kernel/power/process.c | 81 +++++++++-------------------
mm/memcontrol.c | 4 +-
mm/oom_kill.c | 142 +++++++++++++++++++++++++++++++++++++++++++------
mm/page_alloc.c | 17 +-----
7 files changed, 178 insertions(+), 110 deletions(-)

Michal Hocko

 \ /
  Last update: 2014-12-07 11:41    [W:0.214 / U:0.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site