Re: [RFC PATCH 2/4] mm: Add support for unaccepted memory hotplug

From: Rik van Riel

Date: Wed Dec 03 2025 - 10:00:54 EST


On Fri, 2025-11-28 at 10:30 +0100, David Hildenbrand (Red Hat) wrote:
> On 11/27/25 19:12, Borislav Petkov wrote:
> >
> > None of that matters if you kexec the same kernels.
> >
> > IOW, for some reason you want to be able to kexec different
> > kernels. The
> > question is why do we care?
>
> kexecing the same kernel is typically used for kdump purposes.
>
> kexecing different kernels is used for all sorts of things
> (live-upgrade, grub-emu come to mind). It's quite common to kexec
> different kernels, or maybe I misunderstood the question here?
>

Even for kdump it is not unusual to use a different
kernel.

When working on kernel code, getting a proper crash
dump can really help figure out where my code went
wrong.

It helps if the kdump kernel doesn't have the same
broken code that my test kernel does :)

--
All Rights Reversed.