mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| usnic_abi.h | ||
| usnic_common_pkt_hdr.h | ||
| usnic_common_util.h | ||
| usnic_debugfs.c | ||
| usnic_debugfs.h | ||
| usnic_fwd.c | ||
| usnic_fwd.h | ||
| usnic_ib_main.c | ||
| usnic_ib_qp_grp.c | ||
| usnic_ib_qp_grp.h | ||
| usnic_ib_sysfs.c | ||
| usnic_ib_sysfs.h | ||
| usnic_ib_verbs.c | ||
| usnic_ib_verbs.h | ||
| usnic_ib.h | ||
| usnic_log.h | ||
| usnic_transport.c | ||
| usnic_transport.h | ||
| usnic_uiom_interval_tree.c | ||
| usnic_uiom_interval_tree.h | ||
| usnic_uiom.c | ||
| usnic_uiom.h | ||
| usnic_vnic.c | ||
| usnic_vnic.h | ||
| usnic.h | ||