[PATCH v2 2/3] kho: skip zero-sized lowmem and global bootmem areas
Pasha Tatashin
pasha.tatashin at soleen.com
Wed Nov 4 10:57:03 PST 2026
On Wed, 04 Nov 2026 18:50:10 +0200, Mike Rapoport (Microsoft) <rppt at kernel.org> wrote:
> The lowmem and the global bootmem areas can have zero size, for example
> when none or all of the memory is below ARCH_LOW_ADDRESS_LIMIT, or when
> either of those areas is explicitly set to zero with kho_bootmem=.
>
> For a zero-sized allocation memblock returns an address without reserving
> anything, and that empty area is recorded in kho_bootmem. If there is no
> memory below ARCH_LOW_ADDRESS_LIMIT, allocation of the empty lowmem area
> fails and KHO gets disabled.
>
> [...]
Reviewed-by: Pasha Tatashin <pasha.tatashin at soleen.com>
--
Pasha
More information about the kexec
mailing list