summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2026-07-16 05:03:31 -0400
committerLeon Romanovsky <leon@kernel.org>2026-07-20 09:45:43 -0400
commit1318e3c33fb06d677988137710d0a9421ba7e2e4 (patch)
treecc620ab46648e432c45445ff3a366d3bcb7ca188 /tools/perf/scripts/python
parentba3156e68ca7818ee0c42967c36d21a09623f750 (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')
0 files changed, 0 insertions, 0 deletions