aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/umem_odp.c
diff options
context:
space:
mode:
authorArtemy Kovalyov <artemyko@mellanox.com>2017-04-05 09:23:53 +0300
committerDoug Ledford <dledford@redhat.com>2017-04-25 15:40:28 -0400
commit523791d7c5eb4533ded3ba3de3517431243c0de5 (patch)
tree7853d0f1473b9f7f236a1692c6e397b68ae95491 /drivers/infiniband/core/umem_odp.c
parentIB/mlx5: Fix UMR size calculation (diff)
downloadlinux-dev-523791d7c5eb4533ded3ba3de3517431243c0de5.tar.xz
linux-dev-523791d7c5eb4533ded3ba3de3517431243c0de5.zip
IB/mlx5: Fix implicit MR GC
When implicit MR's leaf MKey becomes unused, i.e. when it's last page being released my MMU invalidation it is marked as "dying" and scheduled for release by garbage collector. Currentle consequent page fault may remove "dying" flag. Treat leaf MKey as non-existent once it was scheduled to removal by GC. Fixes: 81713d3788d2 ('IB/mlx5: Add implicit MR support') Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/umem_odp.c')
0 files changed, 0 insertions, 0 deletions