[PATCH v4 17/19] mm: memfd_luo: Add feature header to struct memfd_luo_ser

sashiko-bot at kernel.org sashiko-bot at kernel.org
Tue Nov 10 22:16:55 PST 2026


> Precede struct memfd_luo_ser with struct kho_ser_hdr using
> DECLARE_KHO_SER. Later memfd features can be appended under new
> feature indices without breaking compatibility between adjacent kernels.
> 
> Allocate both the memfd_luo_ser feature header and the kho_vmalloc
> feature header in the same preserved folio. On restore and retrieve,
> validate incoming required features before accessing payload fields.
> 
> Signed-off-by: Tarun Sahu <tarunsahu at google.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261110050202.529473-1-tarunsahu@google.com?part=17




More information about the kexec mailing list