[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251110180715.602807-1-pasha.tatashin@soleen.com>
Date: Mon, 10 Nov 2025 13:07:15 -0500
From: Pasha Tatashin <pasha.tatashin@...een.com>
To: akpm@...ux-foundation.org,
pasha.tatashin@...een.com,
rppt@...nel.org,
graf@...zon.com,
pratyush@...nel.org,
linux-kernel@...r.kernel.org,
kexec@...ts.infradead.org,
linux-mm@...ck.org
Subject: [PATCH] liveupdate: kho: Enable KHO by default
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@...een.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
Powered by blists - more mailing lists