[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH RFC 00/55] x86: use domheap page for xen page tables
This series switches xen page tables from xenheap page to domheap page. This is required so that when we implement xenheap on top of vmap there won't be a loop. It is done in roughly three steps: 1. Introduce a new set of APIs, implement the old APIs on top of the new ones. New APIs still use xenheap pages. 2. Switch each site which manipulate page tables to use the new APIs. 3. Switch new APIs to use domheap page. You can find the series at: https://xenbits.xen.org/git-http/people/liuw/xen.git xen-pt-allocation-1 Wei. Wei Liu (55): x86/mm: defer clearing page in virt_to_xen_lXe x86: move some xen mm function declarations x86: introduce a new set of APIs to manage Xen page tables x86/mm: introduce l{1,2}t local variables to map_pages_to_xen x86/mm: introduce l{1,2}t local variables to modify_xen_mappings x86/mm: map_pages_to_xen should have one exit path x86/mm: add an end_of_loop label in map_pages_to_xen x86/mm: make sure there is one exit path for modify_xen_mappings x86/mm: add an end_of_loop label in modify_xen_mappings x86/mm: change pl2e to l2t in virt_to_xen_l2e x86/mm: change pl1e to l1t in virt_to_xen_l1e x86/mm: change pl3e to l3t in virt_to_xen_l3e x86/mm: rewrite virt_to_xen_l3e x86/mm: rewrite xen_to_virt_l2e x86/mm: rewrite virt_to_xen_l1e x86/mm: switch to new APIs in map_pages_to_xen x86/mm: drop lXe_to_lYe invocations in map_pages_to_xen x86/mm: switch to new APIs in modify_xen_mappings x86/mm: drop lXe_to_lYe invocations from modify_xen_mappings x86/mm: switch to new APIs in arch_init_memory x86_64/mm: introduce pl2e in paging_init x86_64/mm: switch to new APIs in paging_init x86_64/mm: drop l4e_to_l3e invocation from paging_init x86_64/mm.c: remove code that serves no purpose in setup_m2p_table x86_64/mm: introduce pl2e in setup_m2p_table x86_64/mm: switch to new APIs in setup_m2p_table x86_64/mm: drop lXe_to_lYe invocations from setup_m2p_table efi: use new page table APIs in copy_mapping efi: avoid using global variable in copy_mapping efi: use new page table APIs in efi_init_memory efi: add emacs block to boot.c efi: switch EFI L4 table to use new APIs x86/smpboot: add emacs block x86/smpboot: clone_mapping should have one exit path x86/smpboot: switch pl3e to use new APIs in clone_mapping x86/smpboot: switch pl2e to use new APIs in clone_mapping x86/smpboot: switch pl1e to use new APIs in clone_mapping x86/smpboot: drop lXe_to_lYe invocations from cleanup_cpu_root_pgt x86: switch root_pgt to mfn_t and use new APIs x86/shim: map and unmap page tables in replace_va_mapping x86_64/mm: map and unmap page tables in m2p_mapped x86_64/mm: map and unmap page tables in share_hotadd_m2p_table x86_64/mm: map and unmap page tables in destroy_compat_m2p_mapping x86_64/mm: map and unmap page tables in destroy_m2p_mapping x86_64/mm: map and unmap page tables in setup_compat_m2p_table x86_64/mm: map and unmap page tables in cleanup_frame_table x86_64/mm: map and unmap page tables in subarch_init_memory x86_64/mm: map and unmap page tables in subarch_memory_op x86/smpboot: remove lXe_to_lYe in cleanup_cpu_root_pgt x86/pv: properly map and unmap page tables in mark_pv_pt_pages_rdonly x86/pv: properly map and unmap page table in dom0_construct_pv x86: remove lXe_to_lYe in __start_xen x86/mm: drop old page table APIs x86: switch to use domheap page for page tables x86/mm: drop _new suffix from page table APIs xen/arch/x86/domain.c | 15 +- xen/arch/x86/domain_page.c | 12 +- xen/arch/x86/efi/runtime.h | 12 +- xen/arch/x86/mm.c | 485 ++++++++++++++++++++++++++++------------ xen/arch/x86/pv/dom0_build.c | 41 ++-- xen/arch/x86/pv/domain.c | 2 +- xen/arch/x86/pv/shim.c | 20 +- xen/arch/x86/setup.c | 10 +- xen/arch/x86/smpboot.c | 171 ++++++++++---- xen/arch/x86/x86_64/mm.c | 265 +++++++++++++++------- xen/common/efi/boot.c | 84 +++++-- xen/common/efi/efi.h | 3 +- xen/common/efi/runtime.c | 8 +- xen/include/asm-x86/mm.h | 16 ++ xen/include/asm-x86/page.h | 10 - xen/include/asm-x86/processor.h | 1 - 16 files changed, 820 insertions(+), 335 deletions(-) -- 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |