aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <[email protected]>2019-02-06 09:59:20 -0800
committerJason Gunthorpe <[email protected]>2019-02-07 12:54:02 -0700
commitb95df5e3e45914c679fa5d4ca08abdd1c98b9f50 (patch)
tree3e87173f21b35bfbf8b2550051fa41d06b4c9fb4 /lib/mpi/mpi-cmp.c
parent8ea1f989aa07a095cbf4aabbf9be7c3a18ce31bf (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 <[email protected]> Signed-off-by: Davidlohr Bueso <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions