diff options
| author | 2026-07-16 05:03:31 -0400 | |
|---|---|---|
| committer | 2026-07-20 09:45:43 -0400 | |
| commit | ed3760b376384248b2977f67e0f803bad1657f8e (patch) | |
| tree | 0bab72b1fc989329d71ea89cb67bd6f69816a619 /scripts/Makefile.thinlto | |
| parent | RDMA/mlx4: use kzalloc() for the fast registration page list (diff) | |
RDMA/usnic: use kmalloc() for the page pointer array
usnic_uiom_get_pages() uses a page-sized array of struct page pointers
as temporary storage for pin_user_pages(). Nothing requires the array to
come directly from the page allocator.
Use kmalloc() for the array and kfree() after the pinning loop.
Link: https://patch.msgid.link/20260715-get_pages-to-kmalloc-v1-3-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
