diff options
| author | 2026-07-16 05:03:31 -0400 | |
|---|---|---|
| committer | 2026-07-20 09:45:43 -0400 | |
| commit | ce5322367c4bd00e51560ffdc07c6c619952967a (patch) | |
| tree | 48048d9fd1d672640b859e041a67bd35527d7977 /scripts/Makefile.thinlto | |
| parent | RDMA/cxgb4: use kmalloc() for the PBL address array (diff) | |
RDMA/mlx4: use kzalloc() for the fast registration page list
mlx4_alloc_priv_pages() allocates a zeroed, page-sized buffer for a
DMA-to-device page list. kmalloc() provides the required physical
contiguity, and a PAGE_SIZE allocation retains the alignment needed to
keep the list within one page.
Use kzalloc() for the buffer and kfree() on the error and teardown paths.
Link: https://patch.msgid.link/20260715-get_pages-to-kmalloc-v1-2-b0b7fce288be@nvidia.com
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
