[PATCH] kho: try to allocate contiguous memory for kexec segments
Michał Cłapiński
mclapinski at google.com
Tue Jun 2 10:08:09 PDT 2026
On Tue, Jun 2, 2026 at 6:58 PM Pratyush Yadav <pratyush at kernel.org> wrote:
>
> 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?
I sent this patch out yesterday, then realized it wasn't going to work
so I abandoned this approach.
Today I sent patch [0] that skips the checksum for KHO, so this patch
is no longer needed.
> [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