diff options
| author | Liam Howlett <[email protected]> | 2023-01-09 20:57:21 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-01-12 00:14:22 +0000 |
| commit | 80be727ec87225797771a39f3e6801baf291faaf (patch) | |
| tree | 5fb994fd0ba31bb5843399410ff7964c7af08aaa /tools/perf/scripts/python/flamegraph.py | |
| parent | nommu: fix memory leak in do_mmap() error path (diff) | |
| download | kernel-80be727ec87225797771a39f3e6801baf291faaf.tar.gz kernel-80be727ec87225797771a39f3e6801baf291faaf.zip | |
nommu: fix do_munmap() error path
When removing a VMA from the tree fails due to no memory, do not free the
VMA since a reference still exists.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 8220543df148 ("nommu: remove uses of VMA linked list")
Signed-off-by: Liam R. Howlett <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Yu Zhao <[email protected]>
Cc: <[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
