diff options
author | Juergen Gross <jgross@suse.com> | 2014-11-28 11:53:55 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2014-12-04 15:08:59 +0100 |
commit | 5b8e7d80542487ff1bf17b4cf2922a01dee13d3a (patch) | |
tree | e027791839cd32076d172c16700e010974f70ea4 /arch/x86/xen/xen-ops.h | |
parent | xen: Delay m2p_override initialization (diff) | |
download | linux-5b8e7d80542487ff1bf17b4cf2922a01dee13d3a.tar.xz linux-5b8e7d80542487ff1bf17b4cf2922a01dee13d3a.zip |
xen: Delay invalidating extra memory
When the physical memory configuration is initialized the p2m entries
for not pouplated memory pages are set to "invalid". As those pages
are beyond the hypervisor built p2m list the p2m tree has to be
extended.
This patch delays processing the extra memory related p2m entries
during the boot process until some more basic memory management
functions are callable. This removes the need to create new p2m
entries until virtual memory management is available.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'arch/x86/xen/xen-ops.h')
-rw-r--r-- | arch/x86/xen/xen-ops.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h index 5b72a06c5b85..02b0b0fba041 100644 --- a/arch/x86/xen/xen-ops.h +++ b/arch/x86/xen/xen-ops.h @@ -29,12 +29,13 @@ void xen_build_mfn_list_list(void); void xen_setup_machphys_mapping(void); void xen_setup_kernel_pagetable(pgd_t *pgd, unsigned long max_pfn); void xen_reserve_top(void); -extern unsigned long xen_max_p2m_pfn; void xen_mm_pin_all(void); void xen_mm_unpin_all(void); void xen_set_pat(u64); +unsigned long __ref xen_chk_extra_mem(unsigned long pfn); +void __init xen_inv_extra_mem(void); void __init xen_remap_memory(void); char * __init xen_memory_setup(void); char * xen_auto_xlated_memory_setup(void); |