On 5/1/25 15:54, Changyuan Lyu wrote:
> From: Alexander Graf <[email protected]>
> 
> KHO kernels are special and use only scratch memory for memblock
> allocations, but memory below 1M is ignored by kernel after early boot
> and cannot be naturally marked as scratch.
> 
> To allow allocation of the real-mode trampoline and a few (if any) other
> very early allocations from below 1M forcibly mark the memory below 1M
> as scratch.
> 
> After real mode trampoline is allocated, clear that scratch marking.

It's much more clear now, thanks!

Acked-by: Dave Hansen <[email protected]>

Reply via email to