On Fri, Nov 7, 2025 at 5:23 PM Andrew Morton akpm@linux-foundation.org wrote:
On Sat, 1 Nov 2025 10:23:23 -0400 Pasha Tatashin pasha.tatashin@soleen.com wrote:
Move KHO to kernel/liveupdate/ in preparation of placing all Live Update core kernel related files to the same place.
I notice that menuconfig is a bit weird after this.
The "General setup" menu offers the "Live Update and Kexec HandOver" menu but there's nothing in there. If one sets DEFERRED_STRUCT_PAGE_INIT then things look normal.
Perhaps we shouldn't be offering "Live Update and Kexec HandOver" at all if !DEFERRED_STRUCT_PAGE_INIT.
Hi Andrew, thank you for noticing this, yes, indeed it looks strange when empty. Let's disable the menu when DEFERRED_STRUCT_PAGE_INIT until we relax this KHO/deferred init dependency.
diff --git a/kernel/liveupdate/Kconfig b/kernel/liveupdate/Kconfig index 054f6375a7af..d7344d347f69 100644 --- a/kernel/liveupdate/Kconfig +++ b/kernel/liveupdate/Kconfig @@ -7,6 +7,7 @@ #
menu "Live Update and Kexec HandOver" + depends on !DEFERRED_STRUCT_PAGE_INIT
config LIVEUPDATE bool "Live Update Orchestrator"