diff options
| author | Davidlohr Bueso <[email protected]> | 2019-02-06 09:59:18 -0800 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2019-02-07 12:54:02 -0700 |
| commit | 0e15c253363e9a8824e6b9c9fc17468eb924cebd (patch) | |
| tree | e86afa16b5536b453bddf3a45f1e3b794d47a61b /tools/perf/scripts/python | |
| parent | 3a2a1e90564e3ad215aa5c6ddc0e741cd6208a93 (diff) | |
drivers/IB,hfi1: do not se mmap_sem
This driver already uses gup_fast() and thus we can just drop the mmap_sem
protection around the pinned_vm counter. Note that the window between when
hfi1_can_pin_pages() is called and the actual counter is incremented
remains the same as mmap_sem was _only_ used for when ->pinned_vm was
touched.
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')
0 files changed, 0 insertions, 0 deletions