Re: [RFC: DMA_PMD 00/22] DMA_PMD: PMD_SIZE-backed IO buffer pools
From: Jason Gunthorpe
Date: Tue Nov 03 2026 - 10:21:39 EST
On Tue, Nov 03, 2026 at 09:09:33AM +0100, Christoph Hellwig wrote:
> On Fri, Oct 23, 2026 at 11:50:23AM -0300, Jason Gunthorpe wrote:
> > > Disk I/O is still potentially affected by the same problems
> > > (cost if io mapping/unmapping, iotlb thrashing, bounce buffers
> > > in confidential computing...)
> >
> > The disk folks already have a proposal to address all of this using
> > io_uring and preallocated buffers. I really doubt yet another version
> > is going to be interesting there.
>
> Huh? If you mean the dma-buf I/O it doesn't really have anything
> to do with disks, except that this is the first user.
Yeah
> The dma-buf iovec can work for every ->read_iter/->write_iter
> consumer, and should be adopted more broadly. Including by
> networking instead of their own totally weird different world.
I'm not holding my breath on that one..
Jason