Skip to content

RFC linux/vnuma: vNUMA PV guest support introduction

Elena Ufimtseva xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest2 patches 17 repliesIn review
  2. v1 RFC2 patches 26 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2linux/vnuma: vNUMA for PV domu guestarch/x86/include/asm/xen/vnuma.h arch/x86/mm/numa.c arch/x86/xen/Makefile +2 more+137 -110 replies
2/2linux/vnuma: Enables NUMA for domu PV guestarch/x86/xen/setup.c+5 -15 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH RFC v2 0/2] linux/vnuma: vNUMA PV guest support introduction

This patchset introduces vNUMA for PV domU guest.

Enables PV guest to discover NUMA topology provided by Xen
and initializes NUMA topology on boot. XENMEM subop hypercall
is used to retreive information from Xen. Xen provides number
of NUMA nodes, memory regions (start and end pfn) constructed
based on e820 domU map, distance table and cpu to node map. i xen_numa_init is called to setup NUMA related structures.
To enable this mechanism, kernel should be compiled as PV guest
with CONFIG_NUMA=y and Xen should support vNUMA functionality
(patchset http://lists.xenproject.org/archives/html/xen-devel/2013-09/msg01337.html ).

Elena Ufimtseva (2):
vNUMA topology support for PV domu guest
Enables NUMA for PV vNUMA-enabled domu guest.

 arch/x86/include/asm/xen/vnuma.h |   12 +++++
 arch/x86/mm/numa.c               |    5 ++
 arch/x86/xen/Makefile            |    2 +-
 arch/x86/xen/setup.c             |    6 ++-
 arch/x86/xen/vnuma.c             |   94 ++++++++++++++++++++++++++++++++++++++
 include/xen/interface/memory.h   |   27 +++++++++++
 6 files changed, 144 insertions(+), 2 deletions(-)
 create mode 100644 arch/x86/include/asm/xen/vnuma.h
 create mode 100644 arch/x86/xen/vnuma.c
Signature · 1 line
1.7.10.4