]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d8f2a8384cbf3882f72213327dd6e579a461a23
treeb57c135e68a40d48a51f2b1b126179a7121b23f6
parent069a3dc0014bac5244b12900ff9fe02bc6b0b304
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