diff options
| author | Davidlohr Bueso <[email protected]> | 2019-02-06 09:59:16 -0800 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2019-02-07 12:54:02 -0700 |
| commit | 4f564ff3d4dd887955b25b83d06989610769bf32 (patch) | |
| tree | 679b0c3bf19ebb6cebaf03f10ab8f103bfab0366 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 70f8a3ca68d3e1f3344d959981ca55d5f6ec77f7 (diff) | |
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 <[email protected]>
Signed-off-by: Davidlohr Bueso <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions