summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig.cpu
diff options
context:
space:
mode:
authorJuergen Gross2015-07-17 06:51:27 +0200
committerDavid Vrabel2015-08-20 13:24:19 +0200
commit5097cdf6cef15439f971df54f9abcf143d7ca698 (patch)
treeca32d6a9a9f601d37c339f9fdb5049527c72b3c5 /arch/x86/Kconfig.cpu
parentxen: move static e820 map to global scope (diff)
downloadkernel-qcow2-linux-5097cdf6cef15439f971df54f9abcf143d7ca698.tar.gz
kernel-qcow2-linux-5097cdf6cef15439f971df54f9abcf143d7ca698.tar.xz
kernel-qcow2-linux-5097cdf6cef15439f971df54f9abcf143d7ca698.zip
xen: split counting of extra memory pages from remapping
Memory pages in the initial memory setup done by the Xen hypervisor conflicting with the target E820 map are remapped. In order to do this those pages are counted and remapped in xen_set_identity_and_remap(). Split the counting from the remapping operation to be able to setup the needed memory sizes in time but doing the remap operation at a later time. This enables us to simplify the interface to xen_set_identity_and_remap() as the number of remapped and released pages is no longer needed here. Finally move the remapping further down to prepare relocating conflicting memory contents before the memory might be clobbered by xen_set_identity_and_remap(). This requires to not destroy the Xen E820 map when the one for the system is being constructed. Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'arch/x86/Kconfig.cpu')
0 files changed, 0 insertions, 0 deletions