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 | 1318e3c33fb06d677988137710d0a9421ba7e2e4 (patch) | |
| tree | cc620ab46648e432c45445ff3a366d3bcb7ca188 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | ba3156e68ca7818ee0c42967c36d21a09623f750 (diff) | |
RDMA/cxgb4: use kmalloc() for the PBL address array
c4iw_reg_user_mr() allocates a page-sized temporary array of DMA
addresses while programming a PBL. The array has no page-specific
requirements, so allocate it with kmalloc() and release it with kfree().
This avoids the casts required by the page allocator and lets the free
operation derive the allocation size from the object.
Link: https://patch.msgid.link/20260715-get_pages-to-kmalloc-v1-1-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/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
