x86: make map_domain_page_global() a simple wrapper around vmap()
authorJan Beulich <jbeulich@suse.com>
Thu, 4 Jul 2013 08:27:39 +0000 (10:27 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 4 Jul 2013 08:27:39 +0000 (10:27 +0200)
commitb0581b9214d2359207f836f4f075e978527b9a7b
tree742bd7c1c2b9df77ebd4e2b220cde5f0e33fcba7
parentd8a7694e5a415ac0a871f0ae58f50876ad30d619
x86: make map_domain_page_global() a simple wrapper around vmap()

This is in order to reduce the number of fundamental mapping mechanisms
as well as to reduce the amount of code to be maintained. In the course
of this the virtual space available to vmap() is being grown from 16Gb
to 64Gb.

Note that this requires callers of unmap_domain_page_global() to no
longer pass misaligned pointers - map_domain_page_global() returns page
size aligned pointers, so unmappinmg should be done accordingly.
unmap_vcpu_info() violated this and is being adjusted here.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/domain_page.c
xen/common/domain.c
xen/include/asm-x86/config.h