diff options
author | Davidlohr Bueso | 2019-02-06 18:59:16 +0100 |
---|---|---|
committer | Jason Gunthorpe | 2019-02-07 20:54:02 +0100 |
commit | 4f564ff3d4dd887955b25b83d06989610769bf32 (patch) | |
tree | 679b0c3bf19ebb6cebaf03f10ab8f103bfab0366 /crypto/ecdh.c | |
parent | mm: make mm->pinned_vm an atomic64 counter (diff) | |
download | kernel-qcow2-linux-4f564ff3d4dd887955b25b83d06989610769bf32.tar.gz kernel-qcow2-linux-4f564ff3d4dd887955b25b83d06989610769bf32.tar.xz kernel-qcow2-linux-4f564ff3d4dd887955b25b83d06989610769bf32.zip |
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 'crypto/ecdh.c')
0 files changed, 0 insertions, 0 deletions