[PATCH v2 04/10] liveupdate: add support for linked-block serialization
Mike Rapoport
rppt at kernel.org
Sun May 17 10:26:25 PDT 2026
On Thu, May 14, 2026 at 10:26:22PM +0000, Pasha Tatashin wrote:
> Introduce a linked-block serialization mechanism for LUO state.
>
> Previously, LUO used contiguous memory blocks for serializing sessions
> and files, which imposed limits on the total number of items that could
> be preserved across a live update.
>
> This commit adds the infrastructure for a more flexible, block-based
> approach where serialized data is stored in a chain of linked blocks.
> This is a preparatory step to allow an unlimited number of
> luo_sessions and luo_files to be preserved.
Shouldn't it be a part of KHO?
> Signed-off-by: Pasha Tatashin <pasha.tatashin at soleen.com>
> ---
> Documentation/core-api/liveupdate.rst | 8 +
> include/linux/kho/abi/luo.h | 22 ++
> kernel/liveupdate/Makefile | 1 +
> kernel/liveupdate/luo_block.c | 388 ++++++++++++++++++++++++++
> kernel/liveupdate/luo_internal.h | 57 ++++
> 5 files changed, 476 insertions(+)
> create mode 100644 kernel/liveupdate/luo_block.c
--
Sincerely yours,
Mike.
More information about the kexec
mailing list