aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorIra Weiny <[email protected]>2023-03-07 09:15:31 -0800
committerLeon Romanovsky <[email protected]>2023-03-19 11:35:53 +0200
commit6ea0c2de314fbaed8e10526c2284e992d145171d (patch)
tree70b6b1322ca0953f7db31fa1ff250783d1b17c37 /tools/perf/scripts/python/libxed.py
parentd50b3c73f1ac20dabc53dc6e9d64ce9c79a331eb (diff)
RDMA/qib: Remove deprecated kmap() call
kmap() has been deprecated in favor of the kmap_local_page() call. kmap_local_page() is thread local. In the sdma coalesce case the page allocated is potentially free'ed in a different context through qib_sdma_get_complete() -> qib_user_sdma_make_progress(). The use of kmap_local_page() is inappropriate in this call path. However, the page is allocated using GFP_KERNEL and will never be from highmem. Remove the use of kmap calls and use page_address() in this case. Signed-off-by: Ira Weiny <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Dennis Dalessandro <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions