Re: [PATCH 1/2] efi: Fix reservation of unaccepted memory table
From: Kiryl Shutsemau
Date: Fri Feb 13 2026 - 12:20:30 EST
On Fri, Feb 13, 2026 at 08:46:55AM -0800, Dave Hansen wrote:
> On 2/13/26 08:14, Kiryl Shutsemau wrote:
> >> The memblock code seems to be able to handle arbitrary alignment just fine.
> > Memblock will track it, but, as the comment says, anything smaller than
> > page size will not be mapped, but we need the table to be accessible by
> > kernel.
>
> That seems really, really fragile.
>
> We should first make sure this is intentional memblock behavior and not
> a bug before we go add more hacks on top of it.
>
> Why would you even present a byte-level reservation interface if it is
> free to just silently ignore some of the ranges by rounding them off later?
+Mike.
My guess that multiple memblock_add() calls might add up to the full
page size.
--
Kiryl Shutsemau / Kirill A. Shutemov