xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] xen: better grant v2 support
@ 2017-08-21 18:05 Juergen Gross
  2017-08-21 18:05 ` [PATCH 1/5] xen: remove deprecated boot parameter gnttab_max_nr_frames Juergen Gross
                   ` (6 more replies)
  0 siblings, 7 replies; 38+ messages in thread
From: Juergen Gross @ 2017-08-21 18:05 UTC (permalink / raw)
  To: xen-devel
  Cc: Juergen Gross, sstabellini, wei.liu2, George.Dunlap,
	andrew.cooper3, ian.jackson, tim, jbeulich

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@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2017-08-25 12:23 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-21 18:05 [PATCH 0/5] xen: better grant v2 support Juergen Gross
2017-08-21 18:05 ` [PATCH 1/5] xen: remove deprecated boot parameter gnttab_max_nr_frames Juergen Gross
2017-08-24 14:08   ` Jan Beulich
2017-08-21 18:05 ` [PATCH 2/5] xen: move XENMAPSPACE_grant_table code into grant_table.c Juergen Gross
2017-08-24 14:11   ` Jan Beulich
2017-08-24 16:12   ` Julien Grall
2017-08-25  6:58     ` Juergen Gross
2017-08-21 18:05 ` [PATCH 3/5] xen: clean up grant_table.h Juergen Gross
2017-08-24 14:17   ` Jan Beulich
     [not found]   ` <599EFC2B020000780017345D@suse.com>
2017-08-24 14:28     ` Juergen Gross
2017-08-21 18:05 ` [PATCH 4/5] xen: support different gnttab_max_frames for grant v1 and v2 Juergen Gross
2017-08-24 14:21   ` Jan Beulich
     [not found]   ` <599EFD260200007800173471@suse.com>
2017-08-24 14:54     ` Juergen Gross
2017-08-24 15:01       ` Jan Beulich
     [not found]       ` <599F065D0200007800173568@suse.com>
2017-08-24 15:15         ` Juergen Gross
2017-08-21 18:05 ` [PATCH 5/5] xen: add new hypercall to get grant table limits Juergen Gross
2017-08-24 14:28   ` Jan Beulich
     [not found]   ` <599EFEA302000078001734B4@suse.com>
2017-08-24 14:48     ` Juergen Gross
2017-08-24 15:02       ` Juergen Gross
2017-08-24 15:04       ` Jan Beulich
     [not found]       ` <599F070B0200007800173599@suse.com>
2017-08-24 15:13         ` Juergen Gross
2017-08-24 15:20           ` Jan Beulich
     [not found]           ` <599F0AF20200007800173601@suse.com>
2017-08-25 11:40             ` Juergen Gross
2017-08-25 11:58               ` Jan Beulich
     [not found]               ` <59A02D060200007800173BBD@suse.com>
2017-08-25 12:03                 ` Juergen Gross
2017-08-25 12:23                   ` Jan Beulich
2017-08-22 12:48 ` [PATCH 0/5] xen: better grant v2 support Jan Beulich
     [not found] ` <599C44470200007800172030@suse.com>
2017-08-23  7:49   ` Juergen Gross
2017-08-23  8:36     ` Jan Beulich
2017-08-23  8:47       ` Paul Durrant
2017-08-23  9:23         ` Juergen Gross
2017-08-23  9:28           ` Paul Durrant
2017-08-23 10:09             ` Juergen Gross
2017-08-23  9:43           ` Jan Beulich
     [not found]           ` <599D6A4802000078001726D1@suse.com>
2017-08-23 10:04             ` Juergen Gross
     [not found]     ` <599D5A9F02000078001725BF@suse.com>
2017-08-23  9:19       ` Juergen Gross
2017-08-23  9:41         ` Jan Beulich
     [not found]         ` <599D69F602000078001726CE@suse.com>
2017-08-23 10:57           ` Juergen Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).