forked from luck/tmp_suning_uos_patched
4f564ff3d4
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> |
||
---|---|---|
.. | ||
bus | ||
card | ||
common | ||
cosm | ||
cosm_client | ||
host | ||
scif | ||
vop | ||
Kconfig | ||
Makefile |