aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_idle.c
diff options
context:
space:
mode:
authorShiraz, Saleem <shiraz.saleem@intel.com>2019-02-11 09:25:02 -0600
committerJason Gunthorpe <jgg@mellanox.com>2019-02-11 15:24:55 -0700
commitb44e47eb065b65aa7cb2bd9c8d8d5c0009cd1393 (patch)
tree74ec3a16b43c8a21b004205533b8c7f40d0b27af /mm/page_idle.c
parentRDMA/cxgb4: Use for_each_sg_dma_page iterator on umem SGL (diff)
downloadlinux-dev-b44e47eb065b65aa7cb2bd9c8d8d5c0009cd1393.tar.xz
linux-dev-b44e47eb065b65aa7cb2bd9c8d8d5c0009cd1393.zip
RDMA/cxgb3: Use for_each_sg_dma_page iterator on umem SGL
Use the for_each_sg_dma_page iterator variant to walk the umem DMA-mapped SGL and get the page DMA address. This avoids the extra loop to iterate pages in the SGE when for_each_sg iterator is used. Additionally, purge umem->page_shift usage in the driver as its only relevant for ODP MRs. Use system page size and shift instead. Signed-off-by: Shiraz, Saleem <shiraz.saleem@intel.com> Acked-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'mm/page_idle.c')
0 files changed, 0 insertions, 0 deletions