]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ffaa32d3698573f45200162db112181c0c39eb5
treee027791839cd32076d172c16700e010974f70ea4
parent0567dff66948135ff99d869643eeff7c2796a38c
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