diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-09 13:09:22 -0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-28 16:41:13 -0300 |
commit | 50211ec9443ff2e16db43f691dfcc0ef435cf45d (patch) | |
tree | 18b108e808eec991fc2677aa30aa702aee6ca301 /drivers/atm/horizon.c | |
parent | fb985e278a30224183fdf3d56e2f69cfdef88d4e (diff) | |
download | linux-50211ec9443ff2e16db43f691dfcc0ef435cf45d.tar.bz2 |
RDMA/mlx5: Split sig_err MR data into its own xarray
The locking model for signature is completely different than ODP, do not
share the same xarray that relies on SRCU locking to support ODP.
Simply store the active mlx5_core_sig_ctx's in an xarray when signature
MRs are created and rely on trivial xarray locking to serialize
everything.
The overhead of storing only a handful of SIG related MRs is going to be
much less than an xarray full of every mkey.
Link: https://lore.kernel.org/r/20191009160934.3143-3-jgg@ziepe.ca
Reviewed-by: Artemy Kovalyov <artemyko@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/atm/horizon.c')
0 files changed, 0 insertions, 0 deletions