android_kernel_xiaomi_sm8350/arch/x86/xen
Jeremy Fitzhardinge cf0923ea29 xen: efficiently support a holey p2m table
When using sparsemem and memory hotplug, the kernel's pseudo-physical
address space can be discontigious.  Previously this was dealt with by
having the upper parts of the radix tree stubbed off.  Unfortunately,
this is incompatible with save/restore, which requires a complete p2m
table.

The solution is to have a special distinguished all-invalid p2m leaf
page, which we can point all the hole areas at.  This allows the tools
to see a complete p2m table, but it only costs a page for all memory
holes.

It also simplifies the code since it removes a few special cases.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-05-27 10:11:37 +02:00
..
enlighten.c xen: make phys_to_machine structure dynamic 2008-05-27 10:11:37 +02:00
grant-table.c
Kconfig xen: add configurable max domain size 2008-05-27 10:11:37 +02:00
Makefile xen: Move manage.c to drivers/xen for ia64/xen support 2008-05-27 10:11:36 +02:00
mmu.c xen: efficiently support a holey p2m table 2008-05-27 10:11:37 +02:00
mmu.h xen: remove support for non-PAE 32-bit 2008-05-22 18:42:49 +02:00
multicalls.c
multicalls.h
setup.c xen: add configurable max domain size 2008-05-27 10:11:37 +02:00
smp.c xen: count resched interrupts properly 2008-05-27 10:11:37 +02:00
time.c
vdso.h
xen-asm.S
xen-head.S xen: remove support for non-PAE 32-bit 2008-05-22 18:42:49 +02:00
xen-ops.h xen: make phys_to_machine structure dynamic 2008-05-27 10:11:37 +02:00