summaryrefslogtreecommitdiffstats
path: root/Documentation/infiniband
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2019-02-06 18:59:20 +0100
committerJason Gunthorpe <jgg@mellanox.com>2019-02-07 20:54:02 +0100
commitb95df5e3e45914c679fa5d4ca08abdd1c98b9f50 (patch)
tree3e87173f21b35bfbf8b2550051fa41d06b4c9fb4 /Documentation/infiniband
parentdrivers/IB,usnic: reduce scope of mmap_sem (diff)
downloadlinux-b95df5e3e45914c679fa5d4ca08abdd1c98b9f50.tar.xz
linux-b95df5e3e45914c679fa5d4ca08abdd1c98b9f50.zip
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