aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorJames Morse <[email protected]>2015-10-29 16:50:43 +0000
committerAlex Williamson <[email protected]>2015-11-03 12:54:00 -0700
commit1b4bb2eaa9b2583521611b4aa978f9f499c92cd4 (patch)
tree30ce8bb09a0c5d957a12499fc8608d39c2eac008 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent4644321fd3c119a819ab24fd2bc2d1f9bca4a695 (diff)
vfio/platform: store mapped memory in region, instead of an on-stack copy
vfio_platform_{read,write}_mmio() call ioremap_nocache() to map a region of io memory, which they store in struct vfio_platform_region to be eventually re-used, or unmapped by vfio_platform_regions_cleanup(). These functions receive a copy of their struct vfio_platform_region argument on the stack - so these mapped areas are always allocated, and always leaked. Pass this argument as a pointer instead. Fixes: 6e3f26456009 "vfio/platform: read and write support for the device fd" Signed-off-by: James Morse <[email protected]> Acked-by: Baptiste Reynal <[email protected]> Tested-by: Baptiste Reynal <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions