summaryrefslogtreecommitdiff
path: root/Documentation/infiniband
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2019-02-06 20:59:20 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-02-07 22:54:02 +0300
commitb95df5e3e45914c679fa5d4ca08abdd1c98b9f50 (patch)
tree3e87173f21b35bfbf8b2550051fa41d06b4c9fb4 /Documentation/infiniband
parent8ea1f989aa07a095cbf4aabbf9be7c3a18ce31bf (diff)
downloadlinux-b95df5e3e45914c679fa5d4ca08abdd1c98b9f50.tar.xz
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/infiniband')
0 files changed, 0 insertions, 0 deletions