diff options
| author | Shay Drory <[email protected]> | 2020-06-21 13:47:36 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-06-24 16:43:44 -0300 |
| commit | b9af0e2d5aeab77bef33bd3df073c3c96b69ec79 (patch) | |
| tree | bcea9450fcd3a3b1e026a0fb3984a87ee27b441c /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 95a5631f6c9f3045f26245e6045244652204dfdb (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/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions