Re: [PATCH v3 10/10] liveupdate: Defer file handler module refcounting to active sessions

From: Pratyush Yadav

Date: Fri Apr 03 2026 - 06:43:00 EST


On Fri, Mar 27 2026, Pasha Tatashin wrote:

> Stop pinning modules indefinitely upon file handler registration.
> Instead, dynamically increment the module reference count only when a
> live update session actively uses the file handler (e.g., during
> preservation or deserialization), and release it when the session ends.
>
> This allows modules providing live update handlers to be gracefully
> unloaded when no live update is in progress.
>
> Signed-off-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>

Reviewed-by: Pratyush Yadav (Google) <pratyush@xxxxxxxxxx>

[...]

--
Regards,
Pratyush Yadav