summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorAditya Garg <gargaditya@linux.microsoft.com>2026-05-02 00:45:34 -0700
committerJakub Kicinski <kuba@kernel.org>2026-05-05 19:23:16 -0700
commit3af0820c878e2bca77141981b808be9994341654 (patch)
treeda0d42f2115debfe217cb6edfe6c6dc501837ab7 /include/linux/platform_data
parentd07efe5a6e641af59f2dbbef4a748fab6d967747 (diff)
net: mana: Use kvmalloc for large RX queue and buffer allocations
The RX path allocations for rxbufs_pre, das_pre, and rxq scale with queue count and queue depth. With high queue counts and depth, these can exceed what kmalloc can reliably provide from physically contiguous memory under fragmentation. Switch these from kmalloc to kvmalloc variants so the allocator transparently falls back to vmalloc when contiguous memory is scarce, and update the corresponding frees to kvfree. Signed-off-by: Aditya Garg <gargaditya@linux.microsoft.com> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Link: https://patch.msgid.link/20260502074552.23857-3-gargaditya@linux.microsoft.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions