diff options
author | 2021-06-22 09:56:22 -0700 | |
---|---|---|
committer | 2021-06-24 15:07:01 -0300 | |
commit | 7364e74d48ec094f46f6a5abfd91dcebece94c0c (patch) | |
tree | a544669c2fa6e2bf100c409e45ffaf0882847e2f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/bnxt_re: Fix uninitialized struct bit field rsvd1 (diff) | |
download | wireguard-linux-7364e74d48ec094f46f6a5abfd91dcebece94c0c.tar.xz wireguard-linux-7364e74d48ec094f46f6a5abfd91dcebece94c0c.zip |
RDMA/irdma: Remove use of kmap()
kmap() is being deprecated and will break uses of device dax after PKS
protection is introduced.[1]
The kmap() used in the irdma CM driver is thread local. Therefore
kmap_local_page() is sufficient to use and may provide performance
benefits as well. kmap_local_page() will work with device dax and pgmap
protected pages.
Use kmap_local_page() instead of kmap().
[1] https://lore.kernel.org/lkml/20201009195033.3208459-59-ira.weiny@intel.com/
Link: https://lore.kernel.org/r/20210622165622.2638628-1-ira.weiny@intel.com
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions