commit | 95fe51096b7adf1d1e7315c49c75e2f75f162584 | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgg@nvidia.com> | Tue Aug 18 15:05:17 2020 +0300 |
committer | Jason Gunthorpe <jgg@nvidia.com> | Thu Aug 27 08:38:14 2020 -0300 |
tree | 3264ea953dcfe623c712183e90ebee412ffc55dc | |
parent | 620db1a1183d69cc49981ee59c9207e53befeae4 [diff] |
RDMA/ucma: Remove mc_list and rely on xarray It is not really necessary to keep a linked list of mcs associated with each context when we can just scan the xarray to find the right things. The removes another overloading of file->mut by relying on the xarray locking for mc instead. Link: https://lore.kernel.org/r/20200818120526.702120-6-leon@kernel.org Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>