linux_dsm_epyc7002/drivers/infiniband
Shay Drory b9af0e2d5a 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/20200621104738.54850-3-leon@kernel.org
Signed-off-by: Shay Drory <shayd@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-06-24 16:43:44 -03:00
..
core IB/mad: Issue complete whenever decrements agent refcount 2020-06-24 16:43:44 -03:00
hw Merge branch 'raw_dumps' into rdma.git for-next 2020-06-24 08:52:30 -03:00
sw RDMA/rxe: Remove unused rxe_mem_map_pages 2020-06-22 14:49:27 -03:00
ulp RDMA/ipoib: Return void from ipoib_ib_dev_stop() 2020-06-24 08:52:31 -03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00