summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2020-09-05 01:41:54 +0300
committerJason Gunthorpe <jgg@nvidia.com>2020-09-11 16:24:54 +0300
commitb8387f8189bbd75d588b165395f92ee1af52765f (patch)
tree72b02699ef5e5d93ee3d5b98a85ebf5d2ebf2513 /tools/perf/scripts/python/stackcollapse.py
parentcf9ce3c8ab803bb76504e53b0b23b542ab96ed02 (diff)
downloadlinux-b8387f8189bbd75d588b165395f92ee1af52765f.tar.xz
RDMA/ocrdma: Use ib_umem_num_dma_blocks() instead of ib_umem_page_count()
This driver always uses a DMA array made up of PAGE_SIZE elements, so just use ib_umem_num_dma_blocks(). Since rdma_for_each_dma_block() always iterates exactly ib_umem_num_dma_blocks() there is no need for the early exit check in build_user_pbes(), delete it. Link: https://lore.kernel.org/r/13-v2-270386b7e60b+28f4-umem_1_jgg@nvidia.com Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions