Re: [PATCH v5 09/16] kexec: enable KHO support for memory preservation

From: Mike Rapoport
Date: Sun Apr 06 2025 - 12:13:43 EST


On Fri, Apr 04, 2025 at 04:24:54PM +0000, Pratyush Yadav wrote:
> On Fri, Apr 04 2025, Jason Gunthorpe wrote:
> >
> > I'm pretty sure this is going to be the best performance path, but I
> > have no idea how invasive it would be to the buddy alloactor to make
> > it work.
>
> I don't imagine it would be that invasive TBH. memblock_free_pages()
> already checks for kmsan_memblock_free_pages() or
> early_page_initialised(), it can also check for kho_page() just as
> easily.

And how does it help us?

> --
> Regards,
> Pratyush Yadav
>

--
Sincerely yours,
Mike.