Hi Jan,

On 2022/4/19 17:18, Jan Beulich wrote:
On 18.04.2022 11:07, Wei Chen wrote:
--- a/xen/common/page_alloc.c
+++ b/xen/common/page_alloc.c
@@ -1889,7 +1889,7 @@ void __init end_boot_allocator(void)
      }
      nr_bootmem_regions = 0;
- if ( !dma_bitsize && (num_online_nodes() > 1) )
+    if ( !dma_bitsize && arch_have_default_dmazone() )
          dma_bitsize = arch_get_dma_bitsize();

Considering its purpose, may I suggest "want" instead of "have" in the
hook name?


Ok, I will do it.

Jan


Reply via email to