diff options
author | David Rientjes <rientjes@google.com> | 2015-09-08 15:00:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-08 15:35:28 -0700 |
commit | 071a4befebb655d6b31bf5c6bacd5a6df035224d (patch) | |
tree | b57c135e68a40d48a51f2b1b126179a7121b23f6 /include/linux/oom.h | |
parent | 54e9e29132d7caefcad470281cae06ac34a982c8 (diff) | |
download | linux-071a4befebb655d6b31bf5c6bacd5a6df035224d.tar.gz linux-071a4befebb655d6b31bf5c6bacd5a6df035224d.tar.bz2 linux-071a4befebb655d6b31bf5c6bacd5a6df035224d.zip |
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>
Diffstat (limited to 'include/linux/oom.h')
0 files changed, 0 insertions, 0 deletions