Davidlohr Bueso 4f564ff3d4 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>
2019-02-07 12:54:02 -07:00
..
2018-08-21 23:54:18 -04:00
2018-11-01 11:46:27 -07:00
2019-02-07 12:54:02 -07:00
2018-09-25 20:21:02 +02:00
2018-12-28 20:54:57 -08:00
2018-04-23 13:31:27 +02:00