diff options
| author | 2026-01-30 01:10:22 +0800 | |
|---|---|---|
| committer | 2026-01-30 11:52:59 -0800 | |
| commit | 84dd57fb0359500092f1101409ca32091731490d (patch) | |
| tree | 16076c37e23e696be21ed406889613d62620edd2 /tools/perf/scripts/python/stackcollapse.py | |
| parent | accel/amdxdna: Stop job scheduling across aie2_release_resource() (diff) | |
accel/amdxdna: Fix memory leak in amdxdna_ubuf_map
The amdxdna_ubuf_map() function allocates memory for sg and
internal sg table structures, but it fails to free them if subsequent
operations (sg_alloc_table_from_pages or dma_map_sgtable) fail.
Fixes: bd72d4acda10 ("accel/amdxdna: Support user space allocated buffer")
Signed-off-by: Zishun Yi <zishun.yi.dev@gmail.com>
Reviewed-by: Lizhi Hou <lizhi.hou@amd.com>
Reviewed-by: Min Ma <mamin506@gmail.com>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260129171022.68578-1-zishun.yi.dev@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
