diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-09 13:09:33 -0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-28 16:41:14 -0300 |
commit | d561987f34f263dd176ccd8fb782cb153d72f441 (patch) | |
tree | a0917e236263a3d0431a32ad7fdabdcfe9759f4d /drivers/infiniband/hw/mlx5/mlx5_ib.h | |
parent | RDMA/mlx5: Rework implicit ODP destroy (diff) | |
download | linux-dev-d561987f34f263dd176ccd8fb782cb153d72f441.tar.xz linux-dev-d561987f34f263dd176ccd8fb782cb153d72f441.zip |
RDMA/mlx5: Do not store implicit children in the odp_mkeys xarray
These mkeys are entirely internal and are never used by the HW for
page fault. They should also never be used by userspace for prefetch.
Simplify & optimize things by not including them in the xarray.
Since the prefetch path can now never see a child mkey there is no need
for the second synchronize_srcu() during imr destroy.
Link: https://lore.kernel.org/r/20191009160934.3143-14-jgg@ziepe.ca
Reviewed-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/mlx5_ib.h')
0 files changed, 0 insertions, 0 deletions