diff options
author | Ira Weiny <ira.weiny@intel.com> | 2021-06-21 23:14:19 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-06-24 15:07:08 -0300 |
commit | 36f5625af34c89d6c5426c43d321520d668c584c (patch) | |
tree | c6bc10ac988c1443700d9f99a21587a881c54ecc /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 7364e74d48ec094f46f6a5abfd91dcebece94c0c (diff) |
RDMA/hfi1: 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 sdma does not need to be global. Use the new
kmap_local_page() which works with PKS and may provide better performance
for this thread local mapping anyway.
[1] https://lore.kernel.org/lkml/20201009195033.3208459-59-ira.weiny@intel.com/
Link: https://lore.kernel.org/r/20210622061422.2633501-2-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/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions