Re: [PATCH v4 04/19] liveupdate: Reference struct luo_file_set_ser via serialized pointer
From: Pasha Tatashin
Date: Tue Nov 10 2026 - 10:21:21 EST
On Tue, 10 Nov 2026 05:01:47 +0000, Tarun Sahu <tarunsahu@xxxxxxxxxx> 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@xxxxxxxxxx>
--
Pasha