diff options
author | David Rientjes <rientjes@google.com> | 2020-01-30 22:14:26 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-01-31 10:30:38 -0800 |
commit | 8a7ff02acabbd877669fecb0a2e75d0930b62c85 (patch) | |
tree | b2860820529296eb85d8268147f64af18433accc /arch/arm/oprofile/Makefile | |
parent | a090d711dd2ebd7e445bf09f98a4feba6c22f2ff (diff) | |
download | linux-8a7ff02acabbd877669fecb0a2e75d0930b62c85.tar.bz2 |
mm, oom: dump stack of victim when reaping failed
When a process cannot be oom reaped, for whatever reason, currently the
list of locks that are held is currently dumped to the kernel log.
Much more interesting is the stack trace of the victim that cannot be
reaped. If the stack trace is dumped, we have the ability to find
related occurrences in the same kernel code and hopefully solve the
issue that is making it wedged.
Dump the stack trace when a process fails to be oom reaped.
Link: http://lkml.kernel.org/r/alpine.DEB.2.21.2001141519280.200484@chino.kir.corp.google.com
Signed-off-by: David Rientjes <rientjes@google.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/oprofile/Makefile')
0 files changed, 0 insertions, 0 deletions