summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/setup.c
diff options
context:
space:
mode:
authorDavid Vrabel2014-01-07 12:44:32 +0100
committerDavid Vrabel2014-05-15 17:14:44 +0200
commit3cb83e46d032505016ab2565f067e24c8cba9a9d (patch)
tree11eee2d731dd1fa83bede6f006736ff246082b47 /arch/x86/xen/setup.c
parentx86/xen: fix set_phys_range_identity() if pfn_e > MAX_P2M_PFN (diff)
downloadkernel-qcow2-linux-3cb83e46d032505016ab2565f067e24c8cba9a9d.tar.gz
kernel-qcow2-linux-3cb83e46d032505016ab2565f067e24c8cba9a9d.tar.xz
kernel-qcow2-linux-3cb83e46d032505016ab2565f067e24c8cba9a9d.zip
x86/xen: compactly store large identity ranges in the p2m
Large (multi-GB) identity ranges currently require a unique middle page (filled with p2m_identity entries) per 1 GB region. Similar to the common p2m_mid_missing middle page for large missing regions, introduce a p2m_mid_identity page (filled with p2m_identity entries) which can be used instead. set_phys_range_identity() thus only needs to allocate new middle pages at the beginning and end of the range. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Tested-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/setup.c')
0 files changed, 0 insertions, 0 deletions