diff options
| author | Davidlohr Bueso <dave@stgolabs.net> | 2019-02-06 09:59:19 -0800 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-07 12:54:02 -0700 |
| commit | 8ea1f989aa07a095cbf4aabbf9be7c3a18ce31bf (patch) | |
| tree | bb084a30047577dd89ba2b91b96c6ec248f54759 /tools/perf/scripts | |
| parent | drivers/IB,hfi1: do not se mmap_sem (diff) | |
| download | linux-8ea1f989aa07a095cbf4aabbf9be7c3a18ce31bf.tar.gz linux-8ea1f989aa07a095cbf4aabbf9be7c3a18ce31bf.zip | |
drivers/IB,usnic: reduce scope of mmap_sem
usnic_uiom_get_pages() uses gup_longterm() so we cannot really get rid of
mmap_sem altogether in the driver, but we can get rid of some complexity
that mmap_sem brings with only pinned_vm. We can get rid of the wq
altogether as we no longer need to defer work to unpin pages as the
counter is now atomic. We also share the lock.
Acked-by: Parvi Kaustubhi <pkaustub@cisco.com>
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 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
