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?
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?