diff options
| author | Pasha Tatashin <pasha.tatashin@soleen.com> | 2026-06-03 18:43:58 +0300 |
|---|---|---|
| committer | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-06-03 21:15:46 +0300 |
| commit | 2a441a14c2c03b39d1c89438dd28cef9d8fa57d5 (patch) | |
| tree | 8fca6b01c2a9a3a112e914ddca3c2120cf14d198 /scripts/patch-kernel | |
| parent | b5a58a922e6f2f9f40faddd8e0e1fe3ce0ea9c56 (diff) | |
| download | linux-2a441a14c2c03b39d1c89438dd28cef9d8fa57d5.tar.xz | |
liveupdate: Remove limit on the number of sessions
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.
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Reviewed-by: Pratyush Yadav (Google) <pratyush@kernel.org>
Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Link: https://patch.msgid.link/20260603154402.468928-10-pasha.tatashin@soleen.com
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
