]> xenbits.xensource.com Git - xen.git/commit
x86: don't use destroy_xen_mappings() for vunmap()
authorJan Beulich <jbeulich@suse.com>
Wed, 7 Aug 2013 14:52:34 +0000 (16:52 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 7 Aug 2013 14:52:34 +0000 (16:52 +0200)
commitbce93fa13f7ff778820e3ef511c4a117075cdd3b
tree448d605a5132f0a9cdad2e02e26b9e49d88de2d8
parentf3e6e2a9db06448aa3cef2c407b751a60595528e
x86: don't use destroy_xen_mappings() for vunmap()

Its attempt to tear down intermediate page table levels may race with
map_pages_to_xen() establishing them, and now that
map_domain_page_global() is backed by vmap() this teardown is also
wasteful (as it's very likely to need the same address space populated
again within foreseeable time).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
master commit: 68caac7f6f4687241a24e804a9fca19aa26fe183
master date: 2013-07-17 10:21:33 +0200
xen/common/vmap.c
xen/include/asm-x86/page.h