summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2019-02-06 09:59:16 -0800
committerJason Gunthorpe <jgg@mellanox.com>2019-02-07 12:54:02 -0700
commit4f564ff3d4dd887955b25b83d06989610769bf32 (patch)
tree679b0c3bf19ebb6cebaf03f10ab8f103bfab0366 /drivers/infiniband/hw/qib
parent70f8a3ca68d3e1f3344d959981ca55d5f6ec77f7 (diff)
downloadlinux-4f564ff3d4dd887955b25b83d06989610769bf32.tar.bz2
drivers/mic/scif: do not use mmap_sem
The driver uses mmap_sem for both pinned_vm accounting and get_user_pages(). By using gup_fast() and letting the mm handle the lock if needed, we can no longer rely on the semaphore and simplify the whole thing. 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 'drivers/infiniband/hw/qib')
0 files changed, 0 insertions, 0 deletions