[PATCH v2 7/9] kho: support read-only KHO mode in kho_block

sashiko-bot at kernel.org sashiko-bot at kernel.org
Sun Oct 25 10:57:03 PDT 2026


> In read-only KHO mode, incoming serialized kho_block chains lie outside
> the kernel's direct map and must not be modified or freed back into the
> page allocator.
> 
> Map incoming serialized blocks read-only via kho_ro_map_folio(...,
> PAGE_KERNEL_RO) during cycle detection and restoration, and skip calling
> kho_restore_free() when destroying or shrinking a block set in read-only
> mode.
> 
> Signed-off-by: Pasha Tatashin <pasha.tatashin at soleen.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261025174017.3870481-1-pasha.tatashin@soleen.com?part=7




More information about the kexec mailing list