[PATCH v2 06/10] liveupdate: Remove limit on the number of sessions
Mike Rapoport
rppt at kernel.org
Sun May 17 10:33:05 PDT 2026
On Thu, May 14, 2026 at 10:26:24PM +0000, Pasha Tatashin wrote:
> Currently, the number of LUO sessions is limited by a fixed number of
> pre-allocated pages for serialization (16 pages, allowing for ~819
> sessions).
>
> This limitation is problematic if LUO is used to support things such as
> systemd file descriptor store, and would be used not just as VM memory
> but to save other states on the machine.
>
> Remove this limit by transitioning to a linked-block approach for
> session metadata serialization. Instead of a single contiguous block,
> session metadata is now stored in a chain of 16-page blocks. Each block
> starts with a header containing the physical address of the next block
> and the number of session entries in the current block.
>
> Signed-off-by: Pasha Tatashin <pasha.tatashin at soleen.com>
Acked-by: Mike Rapoport (Microsoft) <rppt at kernel.org>
> ---
> include/linux/kho/abi/luo.h | 24 +-------
> kernel/liveupdate/luo_session.c | 105 +++++++++++++++-----------------
> 2 files changed, 50 insertions(+), 79 deletions(-)
--
Sincerely yours,
Mike.
More information about the kexec
mailing list