]> git.baikalelectronics.ru Git - kernel.git/commit
xen: re-introduce support for grant v2 interface
authorJuergen Gross <jgross@suse.com>
Thu, 2 Nov 2017 09:19:17 +0000 (10:19 +0100)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 6 Nov 2017 20:50:17 +0000 (15:50 -0500)
commitccfdf959d57f58e299b486d5aa1f2e9cbda352bd
tree866039351dd6e41782c3fea7c5092e6cb95fc157
parent9511dfeb792d0f6a7fd99520dd7028e1a95a047c
xen: re-introduce support for grant v2 interface

The grant v2 support was removed from the kernel with
commit c320507ea146840f6466a1f12c3a3fb459debebd ("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 with more than 16TB of memory are expected to be more
common in the near future support of grant v2 is mandatory in order
to be able to run a Xen pv domain at any memory location.

So re-add grant v2 support basically by reverting above commit.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/arm/xen/grant-table.c
arch/x86/xen/grant-table.c
drivers/xen/grant-table.c
include/xen/grant_table.h