[PATCH] liveupdate: kho: Enable KHO by default
Mike Rapoport
rppt at kernel.org
Mon Nov 10 10:34:48 PST 2025
On Mon, Nov 10, 2025 at 01:07:15PM -0500, Pasha Tatashin wrote:
>
> Subject: [PATCH] liveupdate: kho: Enable KHO by default
No need to put a directory (liveupdate) prefix here. "kho: " is enough.
With that fixed
Reviewed-by: Mike Rapoport (Microsoft) <rppt at kernel.org>
> Upcoming LUO requires KHO for its operations, the requirement to place
> both KHO=on and liveupdate=on becomes redundant. Set KHO to be enabled
> by default.
>
> Signed-off-by: Pasha Tatashin <pasha.tatashin at soleen.com>
> ---
> kernel/liveupdate/kexec_handover.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/liveupdate/kexec_handover.c b/kernel/liveupdate/kexec_handover.c
> index b54ca665e005..568cd9fe9aca 100644
> --- a/kernel/liveupdate/kexec_handover.c
> +++ b/kernel/liveupdate/kexec_handover.c
> @@ -51,7 +51,7 @@ union kho_page_info {
>
> static_assert(sizeof(union kho_page_info) == sizeof(((struct page *)0)->private));
>
> -static bool kho_enable __ro_after_init;
> +static bool kho_enable __ro_after_init = true;
>
> bool kho_is_enabled(void)
> {
>
> base-commit: ab40c92c74c6b0c611c89516794502b3a3173966
> --
> 2.51.2.1041.gc1ab5b90ca-goog
>
--
Sincerely yours,
Mike.
More information about the kexec
mailing list