Re: [PATCH RFC 01/17] mm: shmem: Implement guest_memfd provider operations for tmpfs
From: Jason Gunthorpe
Date: Thu Oct 01 2026 - 10:38:25 EST
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.
It would be nice if it could handle MMIO and "cachable MMIO" as well.
Jason