Thread (63 messages) 63 messages, 3 authors, 2025-11-17

Re: [PATCH v5 02/22] liveupdate: luo_core: integrate with KHO

From: Pasha Tatashin <pasha.tatashin@soleen.com>
Date: 2025-11-11 20:43:03
Also in: linux-doc, linux-fsdevel, linux-mm, lkml

On Tue, Nov 11, 2025 at 3:39 PM Pasha Tatashin
[off-list ref] wrote:
quoted
quoted
      kho_memory_init();

+     /* Live Update should follow right after KHO is initialized */
+     liveupdate_init();
+
Why do you think it should be immediately after kho_memory_init()?
Any reason this can't be called from start_kernel() or even later as an
early_initcall() or core_initall()?
Unfortunately, no, even here it is too late, and we might need to find
a way to move the kho_init/liveupdate_init earlier. We must be able to
preserve HugeTLB pages, and those are reserved earlier in boot.
Just to clarify: liveupdate_init() is needed to start using:
liveupdate_flb_incoming_* API, and FLB data is needed during HugeTLB
reservation.

Pasha
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help