search for: xen_after_bootmem

Displaying 6 results from an estimated 6 matches for "xen_after_bootmem".

2018 Feb 27
0
[v2 1/1] xen, mm: Allow deferred page initialization for xen pv domains
...to let xen know > that boot allocator is done, and hence struct pages for all the allocated > memory are now initialized. If deferred page initialization is enabled, the > rest of struct pages are going to be initialized later in boot once > page_alloc_init_late() is called. > > xen_after_bootmem() walks page table's pages and marks them pinned. > > Signed-off-by: Pavel Tatashin <pasha.tatashin at oracle.com> > --- > arch/x86/include/asm/x86_init.h | 2 ++ > arch/x86/kernel/x86_init.c | 1 + > arch/x86/mm/init_32.c | 1 + > arch/x86/mm/init...
2018 Feb 27
0
[v2 1/1] xen, mm: Allow deferred page initialization for xen pv domains
...to let xen know > that boot allocator is done, and hence struct pages for all the allocated > memory are now initialized. If deferred page initialization is enabled, the > rest of struct pages are going to be initialized later in boot once > page_alloc_init_late() is called. > > xen_after_bootmem() walks page table's pages and marks them pinned. > > Signed-off-by: Pavel Tatashin <pasha.tatashin at oracle.com> Verified to work on a system where the original issue caused a crash. Reviewed-by: Juergen Gross <jgross at suse.com> Tested-by: Juergen Gross <jgross at su...
2018 Feb 26
0
[v1 1/1] xen, mm: Allow deferred page initialization for xen pv domains
...to let xen know > that boot allocator is done, and hence struct pages for all the allocated > memory are now initialized. If deferred page initialization is enabled, the > rest of struct pages are going to be initialized later in boot once > page_alloc_init_late() is called. > > xen_after_bootmem() is xen's implementation of pv_init_ops.after_bootmem(), > we walk page table and mark every page as pinned. > > Signed-off-by: Pavel Tatashin <pasha.tatashin at oracle.com> > --- > arch/x86/include/asm/paravirt.h | 9 +++++++++ > arch/x86/include/asm/paravirt_...
2018 Aug 10
0
[PATCH 04/10] x86/paravirt: use a single ops structure
...(xen_make_pte); #ifdef CONFIG_X86_64 - pv_mmu_ops.write_cr3 = &xen_write_cr3; + pv_ops.pv_mmu_ops.write_cr3 = &xen_write_cr3; #endif } @@ -2471,7 +2471,7 @@ void __init xen_init_mmu_ops(void) x86_init.paging.pagetable_init = xen_pagetable_init; x86_init.hyper.init_after_bootmem = xen_after_bootmem; - pv_mmu_ops = xen_mmu_ops; + pv_ops.pv_mmu_ops = xen_mmu_ops; memset(dummy_mapping, 0xff, PAGE_SIZE); } diff --git a/arch/x86/xen/spinlock.c b/arch/x86/xen/spinlock.c index cd97a62394e7..53b213af8c26 100644 --- a/arch/x86/xen/spinlock.c +++ b/arch/x86/xen/spinlock.c @@ -137,11 +137,13 @@ v...
2018 Aug 10
13
[PATCH 00/10] x86/paravirt: several cleanups
This series removes some no longer needed stuff from paravirt infrastructure and puts large quantities of paravirt ops under a new config option PARAVIRT_XXL which is selected by XEN_PV only. A pvops kernel without XEN_PV being configured is about 2.5% smaller with this series applied. tip commit 5800dc5c19f34e6e03b5adab1282535cb102fafd ("x86/paravirt: Fix spectre-v2 mitigations for
2018 Aug 13
11
[PATCH v2 00/11] x86/paravirt: several cleanups
This series removes some no longer needed stuff from paravirt infrastructure and puts large quantities of paravirt ops under a new config option PARAVIRT_XXL which is selected by XEN_PV only. A pvops kernel without XEN_PV being configured is about 2.5% smaller with this series applied. tip commit 5800dc5c19f34e6e03b5adab1282535cb102fafd ("x86/paravirt: Fix spectre-v2 mitigations for