RE: [XEN RFC PATCH 20/40] xen/arm: implement node distance helpers for Arm64

2021-08-27 Thread Wei Chen
Hi Stefano, > -Original Message- > From: Stefano Stabellini > Sent: 2021年8月27日 7:52 > To: Wei Chen > Cc: xen-devel@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org; > jbeul...@suse.com; Bertrand Marquis > Subject: Re: [XEN RFC PATCH 20/40] xen/arm: im

Re: [XEN RFC PATCH 20/40] xen/arm: implement node distance helpers for Arm64

2021-08-26 Thread Stefano Stabellini
On Wed, 11 Aug 2021, Wei Chen wrote: > In current Xen code, __node_distance is a fake API, it always > returns NUMA_REMOTE_DISTANCE(20). Now we use a matrix to record > the distance between any two nodes. Accordingly, we provide a > set_node_distance API to set the distance for any two nodes in > t

[XEN RFC PATCH 20/40] xen/arm: implement node distance helpers for Arm64

2021-08-11 Thread Wei Chen
In current Xen code, __node_distance is a fake API, it always returns NUMA_REMOTE_DISTANCE(20). Now we use a matrix to record the distance between any two nodes. Accordingly, we provide a set_node_distance API to set the distance for any two nodes in this patch. Signed-off-by: Wei Chen --- xen/a