[PATCH] liveupdate: kho: Enable KHO by default
Pratyush Yadav
pratyush at kernel.org
Tue Nov 11 05:03:42 PST 2025
On Mon, Nov 10 2025, Mike Rapoport wrote:
> 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.
+1
>
> With that fixed
>
> Reviewed-by: Mike Rapoport (Microsoft) <rppt at kernel.org>
Reviewed-by: Pratyush Yadav <pratyush 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
>>
--
Regards,
Pratyush Yadav
More information about the kexec
mailing list