Re: [PATCH -next] mm: page_alloc: simplify has_managed_dma()

From: Matthew Wilcox
Date: Mon May 29 2023 - 10:26:33 EST


On Mon, May 29, 2023 at 10:40:22PM +0800, Kefeng Wang wrote:
> The ZONE_DMA should only exists on Node 0, only check NODE_DATA(0)
> is enough, so simplify has_managed_dma() and make it inline.

That's true on x86, but is it true on all architectures?