Skip to content

x86/numa: introduce per-node flush_lock

Roger Pau Monne xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/numa: add per-node lock profile objectstools/misc/xenlockprof.c xen/common/spinlock.c xen/include/public/sysctl.h+8 -11 reply
2/2x86/numa: introduce per-NUMA node flush locksxen/arch/x86/include/asm/irq-vectors.h xen/arch/x86/include/asm/numa.h xen/arch/x86/include/asm/smp.h +5 more+160 -55 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] x86/numa: introduce per-node flush_lock

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(-)
Signature · 1 line
2.49.0