Thread (10 messages) 10 messages, 4 authors, 2025-10-29

Re: [RFC mm v4 1/2] page_pool: check if nmdesc->pp is !NULL to confirm its usage as pp for net_iov

From: Byungchul Park <byungchul@sk.com>
Date: 2025-10-29 01:56:14
Also in: bpf, linux-mm, linux-rdma, lkml

On Tue, Oct 28, 2025 at 06:33:56PM -0700, Jakub Kicinski wrote:
On Thu, 23 Oct 2025 16:44:09 +0900 Byungchul Park wrote:
quoted
As a preparation, the check for net_iov, that is not page-backed, should
avoid using ->pp_magic since net_iov doens't have to do with page type.
doesn't
quoted
Instead, nmdesc->pp can be used if a net_iov or its nmdesc belongs to a
page pool, by making sure nmdesc->pp is NULL otherwise.
Please explain in the commit message why the new branch in
netmem_is_pp() is necessary. We used to identify the pages based
on PP_SIGNATURE, now we identify them based on page_type.
Yes, I will.  It'd be much better.  Thank you very much for the comment.

	Byungchul
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help