[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 17/37] xen/x86: use CONFIG_NUMA to gate numa_scan_nodes


  • To: Wei Chen <wei.chen@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 25 Jan 2022 11:26:16 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BjFCwNET1LN7m0OaJm3b1ozrDNbofMdfG2n7rcZK6pI=; b=CiqvneGhvSi32xiKP1rsQxQD6LWCKO5+St5BZROBStRzPvCqrEceWA8EQvQVpnqWvWC3+Tms7izdZi/EQ4aC75kPTlK6qFE9DBI7YrxbIEkE0Q6ndcdSdk8PAVCst0/srw/C3gcadl7wy8cUHGNXMspBl8G1mo+wGkMy2nZfbIBFNeSPLXsjhUczOp3rn27DHYKI5aOVbGPUAVHG4k4W8fLwMUiWXdOZr6yyW69Ad3k2sb2wyTWvBgVPJRdtg8iDNY3qELyfvtgEwXmoTpLiEkswO9YBeXb8iRCR7veCL3JBM4D+HUzj+LKxQnMEIkTe+OxDqaNlDR5YMvRF54zsPA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mE7abCf0Hyh34V32f/nL8cMEfPz56uJeA75x2kLWriSmRLByoRAvnU3yD1ORpqiH6riLTpUhbaEzWdGcXbplcYfxOT4Ft33SZxC7+t33n2YnJi9sjxRp/nr2frtGMPJYYKeeuicLDyHfQJhjPwHtqd2llDATuyka+we9mxk0mM+SWo64yuYGI44/lJ0WVX+AOmovHJTiSrYf1z4ONN2tfZSA9wphREL8yRL1KH0M9EK5OmCocZ/XLqukXEamws7pSoOHkgOCGbGcB2LJTAZEZwA6KT8p4DM2ry5F1MVLAEgoh+DJKUkcACExHkFuGn/DpPbKRNKDtZAX+yEFXxpNeA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Bertrand.Marquis@xxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, sstabellini@xxxxxxxxxx, julien@xxxxxxx
  • Delivery-date: Tue, 25 Jan 2022 10:26:25 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 23.09.2021 14:02, Wei Chen wrote:
> As we have turned numa_scan_nodes to neutral function. If we
> still use CONFIG_ACPI_NUMA in numa_initmem_init to gate
> numa_scan_nodes that doesn't make sense. As CONFIG_ACPI_NUMA
> will be selected by CONFIG_NUMA for x86. So in this patch,
> we replace CONFIG_ACPI_NUMA by CONFIG_NUMA.
> 
> Signed-off-by: Wei Chen <wei.chen@xxxxxxx>
> ---
>  xen/arch/x86/numa.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/xen/arch/x86/numa.c b/xen/arch/x86/numa.c
> index 8a4710df39..509d2738c0 100644
> --- a/xen/arch/x86/numa.c
> +++ b/xen/arch/x86/numa.c
> @@ -260,7 +260,7 @@ void __init numa_initmem_init(unsigned long start_pfn, 
> unsigned long end_pfn)
>      start = pfn_to_paddr(start_pfn);
>      end = pfn_to_paddr(end_pfn);
>  
> -#ifdef CONFIG_ACPI_NUMA
> +#ifdef CONFIG_NUMA
>      if ( !numa_off && !numa_scan_nodes(start, end) )
>          return;
>  #endif

Why is this a separate patch, rather than part of the one renaming
the function?

Jan




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.