[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [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 
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


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.