diff options
| author | Yafang Shao <[email protected]> | 2020-08-11 18:31:32 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-08-12 10:57:56 -0700 |
| commit | 619b5b469bcab84ea3bee1d8d04451c781d23feb (patch) | |
| tree | 194a09ba036cd452f3e1bd34f67edf1dbedb58cc /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | b1aa7c9377bdff904efa0fbde1f96e1769730d8a (diff) | |
mm, oom: show process exiting information in __oom_kill_process()
When the OOM killer finds a victim and tryies to kill it, if the victim is
already exiting, the task mm will be NULL and no process will be killed.
But the dump_header() has been already executed, so it will be strange to
dump so much information without killing a process. We'd better show some
helpful information to indicate why this happens.
Suggested-by: David Rientjes <[email protected]>
Signed-off-by: Yafang Shao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Tetsuo Handa <[email protected]>
Cc: Qian Cai <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions