xen: Delay invalidating extra memory
authorJuergen Gross <jgross@suse.com>
Fri, 28 Nov 2014 10:53:55 +0000 (11:53 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 4 Dec 2014 14:08:59 +0000 (14:08 +0000)
commit5b8e7d80542487ff1bf17b4cf2922a01dee13d3a
treee027791839cd32076d172c16700e010974f70ea4
parent97f4533a60ce5d0cb35ff44a190111f81a987620
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>
arch/x86/include/asm/xen/page.h
arch/x86/xen/p2m.c
arch/x86/xen/setup.c
arch/x86/xen/xen-ops.h