1. 19 1月, 2021 1 次提交
  2. 15 1月, 2021 2 次提交
  3. 08 1月, 2021 2 次提交
  4. 15 12月, 2020 1 次提交
    • M
      RDMA/mlx5: Fix MR cache memory leak · e8993890
      Maor Gottlieb 提交于
      If the MR cache entry invalidation failed, then we detach this entry from
      the cache, therefore we must to free the memory as well.
      
      Allcation backtrace for the leaker:
      
          [<00000000d8e423b0>] alloc_cache_mr+0x23/0xc0 [mlx5_ib]
          [<000000001f21304c>] create_cache_mr+0x3f/0xf0 [mlx5_ib]
          [<000000009d6b45dc>] mlx5_ib_alloc_implicit_mr+0x41/0×210 [mlx5_ib]
          [<00000000879d0d68>] mlx5_ib_reg_user_mr+0x9e/0×6e0 [mlx5_ib]
          [<00000000be74bf89>] create_qp+0x2fc/0xf00 [ib_uverbs]
          [<000000001a532d22>] ib_uverbs_handler_UVERBS_METHOD_COUNTERS_READ+0x1d9/0×230 [ib_uverbs]
          [<0000000070f46001>] rdma_alloc_commit_uobject+0xb5/0×120 [ib_uverbs]
          [<000000006d8a0b38>] uverbs_alloc+0x2b/0xf0 [ib_uverbs]
          [<00000000075217c9>] ksysioctl+0x234/0×7d0
          [<00000000eb5c120b>] __x64_sys_ioctl+0x16/0×20
          [<00000000db135b48>] do_syscall_64+0x59/0×2e0
      
      Fixes: 1769c4c5 ("RDMA/mlx5: Always remove MRs from the cache before destroying them")
      Link: https://lore.kernel.org/r/20201213132940.345554-2-leon@kernel.orgSigned-off-by: NMaor Gottlieb <maorg@nvidia.com>
      Signed-off-by: NLeon Romanovsky <leonro@nvidia.com>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      e8993890
  5. 12 12月, 2020 11 次提交
  6. 11 12月, 2020 2 次提交
  7. 08 12月, 2020 8 次提交
  8. 06 12月, 2020 3 次提交
  9. 02 12月, 2020 7 次提交
  10. 28 11月, 2020 3 次提交