diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2022-09-22 15:33:09 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-09-27 16:15:25 +0300 |
commit | 29dc063596772368aa896f293f5c5aef06381712 (patch) | |
tree | 8a2eea251c6d68bc9c92c1c73d1240afc7fdadbd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | be1eeb667eb748391b1c8158678fe4d892187793 (diff) | |
download | linux-29dc063596772368aa896f293f5c5aef06381712.tar.xz |
RDMA/hns: Remove redundant 'use_lowmem' argument from hns_roce_init_hem_table()
As hns_roce_init_hem_table() is always called with use_lowmem
being '1', and table->lowmem is set according to that argument,
so remove table->lowmem too.
Also, as the table->lowmem is used to indicate a dma buffer
is allocated with GFP_HIGHUSER or GFP_KERNEL, and calling
dma_alloc_coherent() with GFP_KERNEL seems like a common
pattern.
Link: https://lore.kernel.org/r/20220922123315.3732205-7-xuhaoyue1@hisilicon.com
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.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