Re: [RFC PATCH net-next v8 02/14] net: page_pool: create hooks for custom page providers

From
Jason Gunthorpe <jgg@ziepe.ca>
Date
2024-05-07 16:18:59
Also in
bpf, dri-devel, linux-alpha, linux-arch, linux-doc, linux-kselftest, linux-media, linux-mips, linux-trace-kernel, lkml, sparclinux
Reply to
Pavel Begunkov, 2024-05-07
On Tue, May 07, 2024 at 05:05:12PM +0100, Pavel Begunkov wrote:
quoted
even in tree if you give them enough rope, and they should not have
that rope when the only sensible options are page/folio based kernel
memory (incuding large/huge folios) and dmabuf.
I believe there is at least one deep confusion here, considering you
previously mentioned Keith's pre-mapping patches. The "hooks" are not
that about in what format you pass memory, it's arguably the least
interesting part for page pool, more or less it'd circulate whatever
is given. It's more of how to have a better control over buffer lifetime
and implement a buffer pool passing data to users and empty buffers
back.
Isn't that more or less exactly what dmabuf is? Why do you need
another almost dma-buf thing for another project?

Jason
Thread (58 messages) 58 messages, 11 authors, last reply 2024-05-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help