[PATCH] arm64: Warn the user when a small VA_BITS value wastes memory

Catalin Marinas catalin.marinas at arm.com
Tue Dec 15 12:43:51 EST 2020


On Tue, 15 Dec 2020 15:29:18 +0000, Marc Zyngier wrote:
> The memblock code ignores any memory that doesn't fit in the
> linear mapping. In order to preserve the distance between two physical
> memory locations and their mappings in the linear map, any hole between
> two memory regions occupies the same space in the linear map.
> 
> On most systems, this is hardly a problem (the memory banks are close
> together, and VA_BITS represents a large space compared to the available
> memory *and* the potential gaps).
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: Warn the user when a small VA_BITS value wastes memory
      https://git.kernel.org/arm64/c/31f80a4e9603

-- 
Catalin




More information about the linux-arm-kernel mailing list