]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - mm/oom_kill.c
mm, oom: do not panic for oom kills triggered from sysrq
authorDavid Rientjes <rientjes@google.com>
Tue, 8 Sep 2015 22:00:42 +0000 (15:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Sep 2015 22:35:28 +0000 (15:35 -0700)
commit071a4befebb655d6b31bf5c6bacd5a6df035224d
treeb57c135e68a40d48a51f2b1b126179a7121b23f6
parent54e9e29132d7caefcad470281cae06ac34a982c8
mm, oom: do not panic for oom kills triggered from sysrq

Sysrq+f is used to kill a process either for debug or when the VM is
otherwise unresponsive.

It is not intended to trigger a panic when no process may be killed.

Avoid panicking the system for sysrq+f when no processes are killed.

Signed-off-by: David Rientjes <rientjes@google.com>
Suggested-by: Michal Hocko <mhocko@suse.cz>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/sysrq.txt
mm/oom_kill.c