Hello,
I've had this patches pending for quite some time, but never sent them.
Kind of RFC because I'm unsure whether the approach is the best, there's
however a need to split the flush_lock, as on hosts with a high number
of CUPs there's there's a non-trivial amount of contention around it.
First patch is a preparatory change to allow using per-NUMA node locks,
second patch introduces a per-node flush_lock.
Thanks, Roger.
Roger Pau Monne (2):
x86/numa: add per-node lock profile objects
x86/numa: introduce per-NUMA node flush locks
tools/misc/xenlockprof.c | 5 ++
xen/arch/x86/include/asm/irq-vectors.h | 9 ++-
xen/arch/x86/include/asm/numa.h | 3 +
xen/arch/x86/include/asm/smp.h | 3 +
xen/arch/x86/numa.c | 95 ++++++++++++++++++++++++++
xen/arch/x86/smp.c | 16 +++--
xen/arch/x86/smpboot.c | 3 +
xen/common/numa.c | 23 +++++++
xen/common/spinlock.c | 1 +
xen/include/public/sysctl.h | 3 +-
xen/include/xen/numa.h | 13 ++++
11 files changed, 168 insertions(+), 6 deletions(-)
--
2.49.0