[PATCH v4 04/19] liveupdate: Reference struct luo_file_set_ser via serialized pointer

Pasha Tatashin pasha.tatashin at soleen.com
Tue Nov 10 06:47:35 PST 2026


On Tue, 10 Nov 2026 05:01:47 +0000, Tarun Sahu <tarunsahu at google.com> wrote:
> struct luo_session_ser currently embeds struct luo_file_set_ser directly
> by value. Embedding struct luo_file_set_ser couples the session layout's
> size and field offsets to struct luo_file_set_ser, preventing either
> structure from appending fields independently across kexec.
> 
> Convert struct luo_session_ser to hold a DECLARE_KHOSER_PTR pointer to
> struct luo_file_set_ser instead of embedding it by value. Reserve space
> for both structures in each session block-set entry, placing struct
> luo_file_set_ser immediately after struct luo_session_ser, and bump
> LUO_ABI_COMPATIBLE from luo-v5 to luo-v6.
> 
> [...]

Reviewed-by: Pasha Tatashin <pasha.tatashin at soleen.com>

-- 
Pasha




More information about the kexec mailing list