diff options
author | David Vrabel <david.vrabel@citrix.com> | 2011-09-28 17:46:36 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-09-29 11:12:15 -0400 |
commit | f3f436e33b925ead21e3f9b47b1e2aed965511d9 (patch) | |
tree | 1911bb6a8f38433e8c685581766a0d2a20ddf03a /arch/x86/xen/Kconfig | |
parent | dc91c728fddc29dfed1ae96f6807216b5f42d3a1 (diff) | |
download | linux-f3f436e33b925ead21e3f9b47b1e2aed965511d9.tar.gz linux-f3f436e33b925ead21e3f9b47b1e2aed965511d9.tar.bz2 linux-f3f436e33b925ead21e3f9b47b1e2aed965511d9.zip |
xen: release all pages within 1-1 p2m mappings
In xen_memory_setup() all reserved regions and gaps are set to an
identity (1-1) p2m mapping. If an available page has a PFN within one
of these 1-1 mappings it will become inaccessible (as it MFN is lost)
so release them before setting up the mapping.
This can make an additional 256 MiB or more of RAM available
(depending on the size of the reserved regions in the memory map) if
the initial pages overlap with reserved regions.
The 1:1 p2m mappings are also extended to cover partial pages. This
fixes an issue with (for example) systems with a BIOS that puts the
DMI tables in a reserved region that begins on a non-page boundary.
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/Kconfig')
0 files changed, 0 insertions, 0 deletions