diff options
| author | Leon Romanovsky <leonro@nvidia.com> | 2026-07-16 05:03:31 -0400 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-07-20 09:45:43 -0400 |
| commit | ce5322367c4bd00e51560ffdc07c6c619952967a (patch) | |
| tree | 48048d9fd1d672640b859e041a67bd35527d7977 /tools/perf/scripts/python/bin | |
| parent | 1318e3c33fb06d677988137710d0a9421ba7e2e4 (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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
