[PATCH] arm64: mm: fix zone_dma_limit calculation
Catalin Marinas
catalin.marinas at arm.com
Tue Dec 3 13:20:10 PST 2024
On Mon, 25 Nov 2024 09:16:50 -0800, Yang Shi wrote:
> The commit ba0fb44aed47 ("dma-mapping: replace zone_dma_bits by
> zone_dma_limit") changed how zone_dma_limit was calculated. Now it
> returns the memsize limit in IORT or device tree instead of U32_MAX if
> the memsize limit is greater than U32_MAX.
>
> This resulted in DMA allocations may use GFP_DMA even though the devices
> don't require it. It caused regression on our two sockets systems due
> to excessive remote memory access.
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: mm: fix zone_dma_limit calculation
https://git.kernel.org/arm64/c/56a708742a8b
--
Catalin
More information about the linux-arm-kernel
mailing list