Re: [PATCH net-next v7 7/7] netmem: introduce a netmem API, virt_to_head_netmem()
From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-06-27 00:49:50
Also in:
bpf, linux-mm, linux-rdma, lkml
From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-06-27 00:49:50
Also in:
bpf, linux-mm, linux-rdma, lkml
On Wed, 25 Jun 2025 13:33:50 +0900 Byungchul Park wrote:
To eliminate the use of struct page in page pool, the page pool code should use netmem descriptor and APIs instead. As part of the work, introduce a netmem API to convert a virtual address to a head netmem allowing the code to use it rather than the existing API, virt_to_head_page() for struct page.
nit: this one needs a caller for the new function to be merged