diff options
author | David Rientjes <rientjes@google.com> | 2015-09-09 01:00:42 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-09 01:35:28 +0300 |
commit | 071a4befebb655d6b31bf5c6bacd5a6df035224d (patch) | |
tree | b57c135e68a40d48a51f2b1b126179a7121b23f6 /include/linux/oom.h | |
parent | 54e9e29132d7caefcad470281cae06ac34a982c8 (diff) | |
download | linux-071a4befebb655d6b31bf5c6bacd5a6df035224d.tar.xz |
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