commit | 56ac9dd9177ce451ac8176311915b29e8b5f0ac2 | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgg@mellanox.com> | Sun Sep 16 20:48:11 2018 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Fri Sep 21 11:58:36 2018 -0400 |
tree | 0eb46c407ac53d9192c6a73a56a6c581e39845b8 | |
parent | be7a57b41ad824dbc59d1ffa91160ee73f2999ee [diff] |
RDMA/umem: Avoid synchronize_srcu in the ODP MR destruction path synchronize_rcu is slow enough that it should be avoided on the syscall path when user space is destroying MRs. After all the rework we can now trivially do this by having call_srcu kfree the per_mm. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>