diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2019-02-06 09:59:20 -0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-07 12:54:02 -0700 |
commit | b95df5e3e45914c679fa5d4ca08abdd1c98b9f50 (patch) | |
tree | 3e87173f21b35bfbf8b2550051fa41d06b4c9fb4 /Documentation | |
parent | 8ea1f989aa07a095cbf4aabbf9be7c3a18ce31bf (diff) |
drivers/IB,core: reduce scope of mmap_sem
ib_umem_get() uses gup_longterm() and relies on the lock to stabilze the
vma_list, so we cannot really get rid of mmap_sem altogether, but now that
the counter is atomic, we can get of some complexity that mmap_sem brings
with only pinned_vm.
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions