diff options
author | Juergen Gross <jgross@suse.com> | 2015-07-17 04:51:27 (GMT) |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-08-20 11:24:19 (GMT) |
commit | 5097cdf6cef15439f971df54f9abcf143d7ca698 (patch) | |
tree | ca32d6a9a9f601d37c339f9fdb5049527c72b3c5 /block | |
parent | 69632ecfcd03b12202ed62dfa0aabac83904f8ac (diff) | |
download | linux-5097cdf6cef15439f971df54f9abcf143d7ca698.tar.xz |
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 'block')
0 files changed, 0 insertions, 0 deletions