diff options
| author | 2019-05-28 15:46:14 +0300 | |
|---|---|---|
| committer | 2019-05-29 13:14:14 -0300 | |
| commit | 255efcaeb623dd9777523b98d29aa5a0792d9245 (patch) | |
| tree | 12d00ce0aa21fe81312b519d1b965a5946d41437 /scripts/Makefile.thinlto | |
| parent | IB/hfi1: Remove extra brackets from an if (diff) | |
RDMA/efa: Use kvzalloc instead of kzalloc with fallback
Use kvzalloc which attempts to allocate a physically continuous buffer and
fallbacks to virtually continuous on failure instead of open coding it in
the driver.
The is_vmalloc_addr function is used to determine whether the buffer is
physically continuous or not (which determines direct vs indirect MR
registration mode).
Suggested-by: Jason Gunthorpe <jgg@ziepe.ca>
Reviewed-by: Firas JahJah <firasj@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
