Davidlohr Bueso b95df5e3e4 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>
2019-02-07 12:54:02 -07:00
..
2015-06-12 14:49:18 -04:00
2019-01-07 11:43:03 -07:00
2019-02-04 14:53:42 -07:00
2019-02-04 14:53:42 -07:00
2018-12-12 07:40:16 -07:00
2008-07-14 23:48:44 -07:00
2018-12-12 07:40:16 -07:00
2016-05-13 13:37:18 -04:00
2019-02-04 14:53:42 -07:00
2018-12-12 07:40:16 -07:00
2016-03-03 10:20:25 -05:00
2018-12-12 07:40:16 -07:00
2018-12-12 07:40:16 -07:00
2018-12-12 07:40:16 -07:00
2018-10-16 12:47:40 -04:00
2016-03-03 10:20:25 -05:00
2019-02-04 14:53:42 -07:00
2019-02-04 14:53:42 -07:00
2019-02-04 14:53:42 -07:00
2018-12-20 15:18:24 -07:00
2019-01-24 09:22:30 -07:00