linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] oom: sysrq+f shouldn't not panic the system + cleanup
@ 2015-06-18  9:57 Michal Hocko
  2015-06-18  9:57 ` [PATCH 1/2] oom: Do not panic when OOM killer is sysrq triggered Michal Hocko
  2015-06-18  9:57 ` [PATCH 2/2] oom: split out forced OOM killer Michal Hocko
  0 siblings, 2 replies; 7+ messages in thread
From: Michal Hocko @ 2015-06-18  9:57 UTC (permalink / raw)
  To: Andrew Morton; +Cc: David Rientjes, linux-mm, LKML

Hi,
I have split the patch sent previously http://marc.info/?l=linux-mm&m=143323521519798&w=2
into two parts. The first patch prevents from the panic when OOM
killer is sysrq triggered. This is an obvious bug fix and hopefuly not
controversial.

I still believe that combining the regular and the sysrq triggered OOM
paths is ugly, error prone and it deserves a split up which is done in
the second patch. There are no functional changes introduced there.
I have dropped __oom_kill_process part because this one turned out
to be harmless for for the sysrq+f path - I couldn't have found any
interruptible sleep after exit_signals.
I find the resulting code easier to follow (35 (+), 22 (-) sounds like a
reasonable code overhead for that purpose).

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-06-19  7:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-18  9:57 [PATCH 0/2] oom: sysrq+f shouldn't not panic the system + cleanup Michal Hocko
2015-06-18  9:57 ` [PATCH 1/2] oom: Do not panic when OOM killer is sysrq triggered Michal Hocko
2015-06-18 19:21   ` David Rientjes
2015-06-19  7:09     ` Michal Hocko
2015-06-18  9:57 ` [PATCH 2/2] oom: split out forced OOM killer Michal Hocko
2015-06-18 19:27   ` David Rientjes
2015-06-19  7:13     ` Michal Hocko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox