Re: [PATCH] x86/hyperv: Consider NUMA affinity when allocating memory for per-CPU vmsa

2024-04-22 Thread Wei Liu
On Mon, Apr 15, 2024 at 04:57:12PM +0800, Li RongQing wrote: > per-CPU vmsa are dominantly accessed from their own local CPUs, > so allocate them node-local to improve performance. > > And reorganized variables to be reverse christmas tree order > > Signed-off-by: Li RongQing Applied. Thanks.

[PATCH] x86/hyperv: Consider NUMA affinity when allocating memory for per-CPU vmsa

2024-04-15 Thread Li RongQing
per-CPU vmsa are dominantly accessed from their own local CPUs, so allocate them node-local to improve performance. And reorganized variables to be reverse christmas tree order Signed-off-by: Li RongQing --- arch/x86/hyperv/ivm.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-