aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorShay Drory <[email protected]>2020-06-21 13:47:36 +0300
committerJason Gunthorpe <[email protected]>2020-06-24 16:43:44 -0300
commitb9af0e2d5aeab77bef33bd3df073c3c96b69ec79 (patch)
treebcea9450fcd3a3b1e026a0fb3984a87ee27b441c /tools/perf/scripts
parent95a5631f6c9f3045f26245e6045244652204dfdb (diff)
IB/mad: Issue complete whenever decrements agent refcount
Replace calls of atomic_dec() to mad_agent_priv->refcount with calls to deref_mad_agent() in order to issue complete. Most likely the refcount is > 1 at these points, but it is difficult to prove. Performance is not important on these paths, so be obviously correct. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Shay Drory <[email protected]> Reviewed-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')
0 files changed, 0 insertions, 0 deletions