diff options
| author | Kefeng Wang <[email protected]> | 2022-07-26 22:54:28 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-11 20:25:54 -0700 |
| commit | 44b414c8715c5dcf53288ce9005d7b24cc90eaf5 (patch) | |
| tree | b305a8681b7a5e49b3a5b90f5ae6784fab43a68b /tools/perf/scripts/python/flamegraph.py | |
| parent | 4d86d4f7227c6f2acfbbbe0623d49865aa71b756 (diff) | |
mm/util.c: add warning if __vm_enough_memory fails
If a process has not enough memory to allocate a new virtual mapping, we
may meet verious kinds of error, eg, fork cannot allocate memory, SIGBUS
error in shmem, but it is difficult to confirm them, let's add some debug
information to easily to check this scenario if __vm_enough_memory fails.
Link: https://lkml.kernel.org/r/[email protected]
Reported-by: Yongqiang Liu <[email protected]>
Signed-off-by: Kefeng Wang <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions