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

Re: [PATCH v3 01/17] xen/arm: use NR_MEM_BANKS to override default NR_NODE_MEMBLKS


  • To: Henry Wang <Henry.Wang@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 20 Apr 2023 14:21:03 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; 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=inHa3VuybAYPx2l8Ci6A+cf7U65p4vG0Esy0HkUw2OU=; b=kPajlHjTuHyDkopZlhVa76DFDNH9pf5w6ZtDKYQ52YWlzinbtv5xFOgjtWgDijq3Gtb9jXtK9MVBYYCKnUf+DpySdtt+t9tMQLcrmQdQyjyxsodXQVl9VU6AwjTAn+SWV+tlVsbv6hTGFC8mbz1DI5hlXymMeW+kWLIwTWd8EsbVev+xXFUZ9KzaTlvsGfY2l67IFzooHHx3yqzhVBBmOa9H1S0yyDS9LwfAkOBkq4OtzLNmtS08KR5DiEwBYBIMBxmCzy1F84FZTte/h5wU/Jcz1DkkVMFyXiw52wNwCWRRxQacWvu0zLO6Le2mhM+L763ExRDmhpEdCBShH4Kovg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RpS6gVlwrf2Wv4DRe60ws3W3kymEUdEaKSORDl2re9iZe+7tv55p7UGHVWMeN+1M+uHIngGMzEfGnDI8YXMFwbi/1tj/3TO2PLRqEGemsdxtpJh4iX/DlyOSW3JWHq3r9wygpFsTJcx+NfNyqyWNp5pmlla0x3csl1BrYJvhWfQs6oRh/nz8ala7Eb9K8QxsawbpgNN6Hb7QXjOApTU5O3tz+Vq4zWj51TkzJ1ozilYdVue7BzlMkecIKa+oVp/AwBXSzpqkmmKBqmXc0zY0GhYTJ8sVrO0uNrzL12yBAoD0ykQlU7QqzlGueqkxeT2yEIqBtz9WamS+aNPL77FtCg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Wei Chen <wei.chen@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 20 Apr 2023 12:21:12 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 20.04.2023 13:25, Henry Wang wrote:
> From: Wei Chen <wei.chen@xxxxxxx>
> 
> As a memory range described in device tree cannot be split across
> multiple nodes. And it is very likely than if you have more than
> 64 nodes, you may need a lot more than 2 regions per node. So the
> default NR_NODE_MEMBLKS value (MAX_NUMNODES * 2) makes no sense
> on Arm.
> 
> So, for Arm, we would just define NR_NODE_MEMBLKS as an alias to
> NR_MEM_BANKS. And in the future NR_MEM_BANKS will be user-configurable
> via kconfig, but for now leave NR_MEM_BANKS as 128 on Arm. This
> avoid to have different way to define the value based NUMA vs non-NUMA.
> 
> Further discussions can be found here[1].
> 
> [1] https://lists.xenproject.org/archives/html/xen-devel/2021-09/msg02322.html
> 
> Signed-off-by: Wei Chen <wei.chen@xxxxxxx>
> Signed-off-by: Henry Wang <Henry.Wang@xxxxxxx>

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>





 


Rackspace

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