[PATCH v1 2/8] kho: move radix tree, vmalloc, and FDT helpers to internal header

sashiko-bot at kernel.org sashiko-bot at kernel.org
Sun Oct 18 19:18:50 PDT 2026


> Move the shared KHO radix tree key encoding and indexing helpers,
> vmalloc flag conversion helpers, and FDT validation and lookup helpers
> from kexec_handover.c into kexec_handover_internal.h as static inline
> functions.
> 
> The radix tree and vmalloc flag helpers are small bit-manipulation
> routines, and the FDT helpers are small wrappers with a single call site
> per translation unit, so it is natural to inline them in the internal
> header.
> 
> This is going to be used by the upcoming KHO read-only mode to walk
> preserved KHO radix trees, vmalloc preservation chains, and FDT
> subtrees without duplicating the implementation.
> 
> Signed-off-by: Pasha Tatashin <pasha.tatashin at soleen.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261019021111.990394-1-pasha.tatashin@soleen.com?part=2




More information about the kexec mailing list