Skip to content
Commit 90167e96 authored by Li RongQing's avatar Li RongQing Committed by Ingo Molnar
Browse files

x86/sev: Take NUMA node into account when allocating memory for per-CPU SEV data



per-CPU SEV data is dominantly accessed from their own local CPUs,
so allocate them node-local to improve performance.

Signed-off-by: default avatarLi RongQing <lirongqing@baidu.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Cc: Nikunj A Dadhania <nikunj@amd.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Link: https://lore.kernel.org/r/20240412030130.49704-1-lirongqing@baidu.com
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 21f546a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment