Re: [PATCH RFC 01/17] mm: shmem: Implement guest_memfd provider operations for tmpfs
From: David Woodhouse
Date: Thu Oct 01 2026 - 11:53:08 EST
On Thu, 2026-10-01 at 11:17 -0300, Jason Gunthorpe wrote:
> On Thu, Oct 01, 2026 at 02:07:40PM +0100, David Woodhouse wrote:
> > The *consumers* of this memory provider API will include KVM/guestmemfd
> > and IOMMUFD. The latter *might* be through masquerading as dmabuf, or
> > IOMMUFD might treat memory providers as a first class citizen and be
> > taught to consume them directly.
>
> If we are reinventing a dmabuf improved for these use cases then lets
> just use it directly.
Yes, that's literally what my series is doing at the moment.
> It would be nice if it could handle MMIO and "cachable MMIO" as well.
As opposed to just MMIO vs. RAM as implemented in the prototype in
https://git.infradead.org/?p=users/dwmw2/linux.git;a=commitdiff;h=a7ca2d8859036 ?
I think Fred has a cleaner version of that about ready to post as the
next version of my series.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature