diff options
| author | Anthony Yznaga <[email protected]> | 2023-08-29 17:43:24 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-04 10:32:19 -0700 |
| commit | dd34d9fe3b427dea47f81443d022dbaec4339f7e (patch) | |
| tree | 12c8578950ac34c1036c64360ad09d2efd12aabc /tools/perf/scripts/python/stackcollapse.py | |
| parent | 954652b9f33bb1892ea4448479d78779e4a8ae13 (diff) | |
mm: fix unaccount of memory on vma_link() failure
Fix insert_vm_struct() so that only accounted memory is unaccounted if
vma_link() fails.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: d4af56c5c7c6 ("mm: start tracking VMAs with maple tree")
Signed-off-by: Anthony Yznaga <[email protected]>
Reviewed-by: Liam R. Howlett <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions