[PATCH v1 1/3] liveupdate: skip serialization for context-preserving kexec
Pratyush Yadav
pratyush at kernel.org
Wed May 6 01:31:44 PDT 2026
Hi Pasha,
On Wed, May 06 2026, Pasha Tatashin wrote:
> A preserve_context kexec returns to the current kernel, which
> is unrelated to live update where the state is passed to the next
> kernel. Skip liveupdate_reboot() in this case to avoid serialization
> and prevent sessions from being left in a frozen state upon return.
Should we also stop KHO? Now it is stateless and always finalized. I am
not sure how these kexec jump images will interact with KHO data, but
seems like we shouldn't be handing over memory if the image will jump
back.
Anyway, for this patch:
Reviewed-by: Pratyush Yadav (Google) <pratyush at kernel.org>
>
> Fixes: db8bed8082dc ("kexec: call liveupdate_reboot() before kexec")
> Reported-by: Oskar Gerlicz Kowalczuk <oskar at gerlicz.space>
> Signed-off-by: Pasha Tatashin <pasha.tatashin at soleen.com>
[...]
--
Regards,
Pratyush Yadav
More information about the kexec
mailing list