Re: [PATCH] kho: Prevent reuse of preserved pages after a reservation failure
From: Pasha Tatashin
Date: Wed Nov 11 2026 - 16:36:51 EST
On Wed Nov 11, 2026 at 4:28 PM EST, Pasha Tatashin wrote:
> On Tue, 10 Nov 2026 23:09:30 -0800, Chris Down <chris@xxxxxxxxxxxxxx> wrote:
>> kho_preserved_memory_reserve() reserves each range of preserved memory
>> in memblock and marks it noinit, but ignores both return values. Either
>> can fail when memblock has to grow its reserved array and can't find
>> room, which at this point in boot it may only take from KHO bootmem.
>> The boot then goes on as if the range were reserved, and two things
>> can follow:
>>
>> [...]
>
> Reviewed-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>
^^^
I mixed up my review threads and replied to this one by mistake. I
intended to reply to: "kho: Reclaim the metadata page left reserved
after kexec". Regardless, we are still waiting for v2 on this patch, and
I will send a separate email regarding the other one.
--
Pasha