diff options
author | Jan Beulich <jbeulich@suse.com> | 2013-09-30 15:28:12 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-09-30 15:28:12 +0200 |
commit | ca145fe70bad3a25ad54c6ded1ef237e45a2311e (patch) | |
tree | 8f8d0777a9dd4d77ce09d239632b30de8f81d75c /xen/arch/x86/mm.c | |
parent | 28b706efb6abb637fabfd74cde70a50935a5640b (diff) | |
download | xen-ca145fe70bad3a25ad54c6ded1ef237e45a2311e.tar.gz xen-ca145fe70bad3a25ad54c6ded1ef237e45a2311e.tar.bz2 xen-ca145fe70bad3a25ad54c6ded1ef237e45a2311e.zip |
x86: don't blindly create L3 tables for the direct map
Now that the direct map area can extend all the way up to almost the
end of address space, this is wasteful.
Also fold two almost redundant messages in SRAT parsing into one.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Malcolm Crossley <malcolm.crossley@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/mm.c')
-rw-r--r-- | xen/arch/x86/mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c index e7f0e134ab..7d4215dacc 100644 --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -137,7 +137,7 @@ l1_pgentry_t __attribute__ ((__section__ (".bss.page_aligned"))) #define PTE_UPDATE_WITH_CMPXCHG #endif -bool_t __read_mostly mem_hotplug = 0; +paddr_t __read_mostly mem_hotplug; /* Private domain structs for DOMID_XEN and DOMID_IO. */ struct domain *dom_xen, *dom_io, *dom_cow; |