[PATCH v1 6/8] kho: support read-only KHO mode in kho_block

sashiko-bot at kernel.org sashiko-bot at kernel.org
Sun Oct 18 19:18:58 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 unmap them
> via kho_ro_unmap() instead of 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/20261019021111.990394-1-pasha.tatashin@soleen.com?part=6




More information about the kexec mailing list