[PATCH] kho: try to allocate contiguous memory for kexec segments
Pratyush Yadav
pratyush at kernel.org
Tue Jun 2 09:58:52 PDT 2026
On Mon, Jun 01 2026, Michal Clapinski wrote:
> This allows us to skip relocations (and maybe checksum calculation
> in the future).
I'm confused. Doesn't your patch "kexec_file: skip checksum verification
when safe" [0] skip the checksum for KHO already? So this only skips the
relocations part then?
And based on the discussion on that thread, relocations don't seem to
take much time. So is there a real need for this patch?
[0] https://lore.kernel.org/kexec/20260602123311.1841746-1-mclapinski@google.com/
>
> kho_scratch is marked as MIGRATE_CMA but isn't actually given to the
> CMA, so it should only contain movable allocations, therefore this
> should always succeed.
>
> Signed-off-by: Michal Clapinski <mclapinski at google.com>
[...]
--
Regards,
Pratyush Yadav
More information about the kexec
mailing list