]> 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)
commit1df0dbd620de448e5a5824725eb51f034be82d0f
treee027791839cd32076d172c16700e010974f70ea4
parenta03f93ca2db75e278eda94b92500b2acd0f1028c
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