Thread (1 message) 1 message, 1 author, 2026-01-14

Re: [PATCH v8 14/18] mm: memfd_luo: allow preserving memfd

From: Pratyush Yadav <pratyush@kernel.org>
Date: 2026-01-14 19:02:46
Also in: linux-doc, linux-fsdevel, linux-mm, lkml

On Wed, Jan 07 2026, Jason Gunthorpe wrote:
On Tue, Nov 25, 2025 at 11:58:44AM -0500, Pasha Tatashin wrote:
quoted
From: Pratyush Yadav <redacted>

The ability to preserve a memfd allows userspace to use KHO and LUO to
transfer its memory contents to the next kernel. This is useful in many
ways. For one, it can be used with IOMMUFD as the backing store for
IOMMU page tables. Preserving IOMMUFD is essential for performing a
hypervisor live update with passthrough devices. memfd support provides
the first building block for making that possible.
I would lead with the use of memfd to back the guest memory pages for
use with KVM :)
I would assume using 1G-page-backed memfd is the more common use case,
and this patch doesn't come with 1G page support.

Anyway, the patch is now already applied so we can't go back and fix
the commit message...

-- 
Regards,
Pratyush Yadav
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help