aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2019-02-06 09:59:18 -0800
committerJason Gunthorpe <jgg@mellanox.com>2019-02-07 12:54:02 -0700
commit0e15c253363e9a8824e6b9c9fc17468eb924cebd (patch)
treee86afa16b5536b453bddf3a45f1e3b794d47a61b /tools/perf/scripts/python/stackcollapse.py
parentdrivers/IB,qib: optimize mmap_sem usage (diff)
downloadlinux-0e15c253363e9a8824e6b9c9fc17468eb924cebd.tar.gz
linux-0e15c253363e9a8824e6b9c9fc17468eb924cebd.zip
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 <ira.weiny@intel.com> Signed-off-by: Davidlohr Bueso <dbueso@suse.det> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions