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

[Xen-devel] [PATCH 0/5] xen: better grant v2 support



Currently Linux has no support for grant v2 as this would reduce the
maximum number of active grants by a factor of 2 compared to v1,
because the number of possible grants are limited by the allowed number
of grant frames and grant entries of v2 need twice as much bytes as
those of v1.

Unfortunately grant v2 is the only way to support either guests with
more than 16TB memory size or PV guests with memory above the 16TB
border, as grant v1 limits the frame number to be 32 bits wide.

In order to remove the disadvantage of grant v2 this patch series
enables configuring different maximum grant frame numbers for v1 and
v2. In order to let the guest know about the actual numbers an
interface for probing the v1 and v2 limits is added.

Juergen Gross (5):
  xen: remove deprecated boot parameter gnttab_max_nr_frames
  xen: move XENMAPSPACE_grant_table code into grant_table.c
  xen: clean up grant_table.h
  xen: support different gnttab_max_frames for grant v1 and v2
  xen: add new hypercall to get grant table limits

 xen/arch/arm/domain.c             |   2 +-
 xen/arch/arm/domain_build.c       |   2 +-
 xen/arch/arm/mm.c                 |  34 +----
 xen/arch/x86/mm.c                 |  41 ++----
 xen/common/compat/grant_table.c   |   9 +-
 xen/common/grant_table.c          | 267 ++++++++++++++++++++++++++++++--------
 xen/include/asm-arm/grant_table.h |   9 +-
 xen/include/asm-x86/grant_table.h |   5 +
 xen/include/public/grant_table.h  |  14 ++
 xen/include/xen/grant_table.h     |  92 +------------
 xen/include/xen/sched.h           |   1 +
 11 files changed, 269 insertions(+), 207 deletions(-)

-- 
2.12.3


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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