aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMaor Gottlieb <[email protected]>2021-04-11 15:29:21 +0300
committerJason Gunthorpe <[email protected]>2021-04-13 19:36:36 -0300
commit251b9d7887505d67dbe5089f78ad5f8d610b2c2f (patch)
tree1c6fdcf6c01ffc052d5ef323afac8a5742d4a233 /tools/perf/scripts/python/flamegraph.py
parent831df88381f73bca0f5624b69ab985cac3d036bc (diff)
RDMA/mlx5: Re-organize the DM code
1. Inline the checks from check_dm_type_support() into their respective allocation functions. 2. Fix use after free when driver fails to copy the MEMIC address to the user by moving the allocation code into their respective functions, hence we avoid the explicit call to free the DM in the error flow. 3. Split mlx5_ib_dm struct to memic and icm proper typesafety throughout. Fixes: dc2316eba73f ("IB/mlx5: Fix device memory flows") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Maor Gottlieb <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions