Re: [Xen-devel] [PATCH 1/4] xen: re-introduce support for grant v2 interface

2017-09-12 Thread Juergen Gross
On 12/09/17 17:41, Boris Ostrovsky wrote: > >> +int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes, >> + unsigned long max_nr_gframes, >> + grant_status_t **__shared) >> +{ >> +grant_status_t *shared = *__shared; >> +unsigned l

Re: [Xen-devel] [PATCH 1/4] xen: re-introduce support for grant v2 interface

2017-09-12 Thread Boris Ostrovsky
> +int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes, > +unsigned long max_nr_gframes, > +grant_status_t **__shared) > +{ > + grant_status_t *shared = *__shared; > + unsigned long addr; > + unsigned long i; > + > +

[Xen-devel] [PATCH 1/4] xen: re-introduce support for grant v2 interface

2017-09-08 Thread Juergen Gross
The grant v2 support was removed from the kernel with commit 438b33c7145ca8a5131a30c36d8f59bce119a19a ("xen/grant-table: remove support for V2 tables") as the higher memory footprint of v2 grants resulted in less grants being possible for a kernel compared to the v1 grant interface. As machines wi