Re: [PATCH net-next v3 0/3] net: devmem: remove gen_pool from dma-buf allocations
From: patchwork-bot+netdevbpf
Date: Mon Sep 21 2026 - 19:51:30 EST
Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 17 Sep 2026 11:11:13 -0700 you wrote:
> Replace devmem's gen_pool based fixed-size allocator with a binding-level
> freelist similar to the one used by io_uring zero-copy receive.
>
> This is motivated by allocation latency observed in the NAPI receive path:
>
> [ 1036.228913] ? gen_pool_create+0x90/0x90
> [ 1036.228915] net_devmem_alloc_dmabuf+0x1f/0x60
> [ 1036.228918] mp_dmabuf_devmem_alloc_netmems+0x17/0x80
> [ 1036.228920] mlx5e_post_rx_mpwqes+0xdbe/0xdd0
> [ 1036.228926] mlx5e_napi_poll+0x113/0x830
> [ 1036.228928] ? sched_clock+0x5/0x10
> [ 1036.228931] ? wake_up_process+0x778/0x14b0
> [ 1036.228933] net_rx_action+0x15d/0x570
> [ 1036.228934] ? update_rq_clock+0x31/0x240
> [ 1036.228937] ? __napi_schedule+0x55/0xa0
> [ 1036.228938] ? mlx5_eq_comp_int+0x137/0x230
> [ 1036.228940] ? atomic_notifier_call_chain+0x36/0x90
> [ 1036.228943] ? sched_clock+0x5/0x10
> [ 1036.228944] ? sched_clock_cpu+0xc/0x170
> [ 1036.228947] irq_exit_rcu+0x12b/0x370
> [ 1036.228950] common_interrupt+0x85/0x90
>
> [...]
Here is the summary with links:
- [net-next,v3,1/3] net: devmem: replace gen_pool with freelist
https://git.kernel.org/netdev/net-next/c/083e64a3af77
- [net-next,v3,2/3] net: devmem: embed net_iov_area in binding
https://git.kernel.org/netdev/net-next/c/13648ba78722
- [net-next,v3,3/3] net: devmem: batch net_iov allocations into the page_pool cache
https://git.kernel.org/netdev/net-next/c/050bacb138f1
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html