]> xenbits.xensource.com Git - xen.git/commit
x86: introduce create_perdomain_mapping()
authorJan Beulich <jbeulich@suse.com>
Thu, 28 Feb 2013 10:08:13 +0000 (11:08 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 28 Feb 2013 10:08:13 +0000 (11:08 +0100)
commit703ac3abcfc5f649c038070867ee12c67f730548
tree348bce6c9a99e9b6cf9f1c933f084345e0798d10
parentcf0c29d1a99f17fe9e501e4e09d9d1e3eced6f98
x86: introduce create_perdomain_mapping()

... as well as free_perdomain_mappings(), and use them to carry out the
existing per-domain mapping setup/teardown. This at once makes the
setup of the first sub-range PV domain specific (with idle domains also
excluded), as the GDT/LDT mapping area is needed only for those.

Also fix an improperly scaled BUILD_BUG_ON() expression in
mapcache_domain_init().

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