search for: after_bootmem

Displaying 11 results from an estimated 11 matches for "after_bootmem".

2018 Feb 26
0
[v1 1/1] xen, mm: Allow deferred page initialization for xen pv domains
...boot > time. This fix re-enables the feature for pv-dmains, and fixes the problem > the following way: > > The fix is to delay setting PagePinned flag until struct pages for all > allocated memory are initialized (until free_all_bootmem()). > > A new hypervisor op pv_init_ops.after_bootmem() is called 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....
2007 Feb 14
2
[PATCH 8/8] 2.6.17: scan DMI early
...==================================================== --- head-2007-02-08.orig/arch/x86_64/mm/init-xen.c 2007-02-08 17:07:13.000000000 +0100 +++ head-2007-02-08/arch/x86_64/mm/init-xen.c 2007-02-08 17:09:47.000000000 +0100 @@ -208,7 +208,11 @@ static __init void *spp_getpage(void) void *ptr; if (after_bootmem) ptr = (void *) get_zeroed_page(GFP_ATOMIC); - else + else if (start_pfn < table_end) { + ptr = __va(start_pfn << PAGE_SHIFT); + start_pfn++; + memset(ptr, 0, PAGE_SIZE); + } else ptr = alloc_bootmem_pages(PAGE_SIZE); if (!ptr || ((unsigned long)ptr & ~PAGE_MASK)) panic(...
2013 Feb 22
3
[GIT PULL] x86/mm changes for v3.9-rc1
...nal.h x86, mm: Add check before clear pte above max_low_pfn on 32bit x86, mm: use round_up/down in split_mem_range() x86, mm: use PFN_DOWN in split_mem_range() x86, mm: use pfn instead of pos in split_mem_range x86, mm: use limit_pfn for end pfn x86, mm: Unifying after_bootmem for 32bit and 64bit x86, mm: Move after_bootmem to mm_internel.h x86, mm: Use clamp_t() in init_range_memory_mapping x86, mm: kill numa_free_all_bootmem() x86, mm: kill numa_64.h sparc, mm: Remove calling of free_all_bootmem_node() mm: Kill NO_BOOTMEM version fre...
2013 Feb 22
3
[GIT PULL] x86/mm changes for v3.9-rc1
...nal.h x86, mm: Add check before clear pte above max_low_pfn on 32bit x86, mm: use round_up/down in split_mem_range() x86, mm: use PFN_DOWN in split_mem_range() x86, mm: use pfn instead of pos in split_mem_range x86, mm: use limit_pfn for end pfn x86, mm: Unifying after_bootmem for 32bit and 64bit x86, mm: Move after_bootmem to mm_internel.h x86, mm: Use clamp_t() in init_range_memory_mapping x86, mm: kill numa_free_all_bootmem() x86, mm: kill numa_64.h sparc, mm: Remove calling of free_all_bootmem_node() mm: Kill NO_BOOTMEM version fre...
2013 Feb 22
3
[GIT PULL] x86/mm changes for v3.9-rc1
...nal.h x86, mm: Add check before clear pte above max_low_pfn on 32bit x86, mm: use round_up/down in split_mem_range() x86, mm: use PFN_DOWN in split_mem_range() x86, mm: use pfn instead of pos in split_mem_range x86, mm: use limit_pfn for end pfn x86, mm: Unifying after_bootmem for 32bit and 64bit x86, mm: Move after_bootmem to mm_internel.h x86, mm: Use clamp_t() in init_range_memory_mapping x86, mm: kill numa_free_all_bootmem() x86, mm: kill numa_64.h sparc, mm: Remove calling of free_all_bootmem_node() mm: Kill NO_BOOTMEM version fre...
2011 Feb 09
8
reboot after "scrubbing free ram"
Hello, I have some diagnostic Info for you. Tried to get xen-4.0.1 working on another node of my cluster. Only difference: Newer revision of the Hardware. Exactly same Software Stack. Stack: Ubuntu Lucid 64bit, xen-4.0.1 from Source, selfbuilt linux-2.6.32.27 from xen/stable-2.6.32.x Nodes working: HP DL380G5 16GB (Intel X5460) Node not working: HP DL380G6 16GB (Intel X5550) Effect: Xen
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 08/17] paravirt_ops - memory managment
...info.si_code = SEGV_MAPERR; Index: clean-start/arch/x86_64/mm/init.c =================================================================== --- clean-start.orig/arch/x86_64/mm/init.c +++ clean-start/arch/x86_64/mm/init.c @@ -384,7 +384,7 @@ void __meminit init_memory_mapping(unsig } if (!after_bootmem) - asm volatile("movq %%cr4,%0" : "=r" (mmu_cr4_features)); + mmu_cr4_features = read_cr4(); __flush_tlb_all(); } @@ -398,7 +398,7 @@ void __cpuinit zap_low_mappings(int cpu) * For AP's, zap the low identity mappings by changing the cr3 * to init_level4_pgt an...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 08/17] paravirt_ops - memory managment
...info.si_code = SEGV_MAPERR; Index: clean-start/arch/x86_64/mm/init.c =================================================================== --- clean-start.orig/arch/x86_64/mm/init.c +++ clean-start/arch/x86_64/mm/init.c @@ -384,7 +384,7 @@ void __meminit init_memory_mapping(unsig } if (!after_bootmem) - asm volatile("movq %%cr4,%0" : "=r" (mmu_cr4_features)); + mmu_cr4_features = read_cr4(); __flush_tlb_all(); } @@ -398,7 +398,7 @@ void __cpuinit zap_low_mappings(int cpu) * For AP's, zap the low identity mappings by changing the cr3 * to init_level4_pgt an...
2011 Mar 14
8
pvops0 kernel 2.6.32.x still does not boot if x > 18, shouldn''t that be fixed for release of Xen 4.0.2/4.1
Hello Jeremy & Keir, sorry to be persistent, but the problem that pvops0 kernel 2.6.32.x still does not boot if x > 18 on my machines (and on many other machines, see this mailing list) is not solved yet. Shouldn''t this be a great focus of debugging and fixing? What is the point of having releases for 4.0.2 or 4.1 if I don''t have a dom0 kernel? The last time I tried
2007 Apr 18
2
[PATCH] x86_64 paravirt_ops port
...EGV_MAPERR; Index: linux-2.6.19-quilt/arch/x86_64/mm/init.c =================================================================== --- linux-2.6.19-quilt.orig/arch/x86_64/mm/init.c +++ linux-2.6.19-quilt/arch/x86_64/mm/init.c @@ -384,7 +384,7 @@ void __meminit init_memory_mapping(unsig } if (!after_bootmem) - asm volatile("movq %%cr4,%0" : "=r" (mmu_cr4_features)); + mmu_cr4_features = read_cr4(); __flush_tlb_all(); } @@ -398,7 +398,7 @@ void __cpuinit zap_low_mappings(int cpu) * For AP's, zap the low identity mappings by changing the cr3 * to init_level4_pgt an...
2007 Apr 18
2
[PATCH] x86_64 paravirt_ops port
...EGV_MAPERR; Index: linux-2.6.19-quilt/arch/x86_64/mm/init.c =================================================================== --- linux-2.6.19-quilt.orig/arch/x86_64/mm/init.c +++ linux-2.6.19-quilt/arch/x86_64/mm/init.c @@ -384,7 +384,7 @@ void __meminit init_memory_mapping(unsig } if (!after_bootmem) - asm volatile("movq %%cr4,%0" : "=r" (mmu_cr4_features)); + mmu_cr4_features = read_cr4(); __flush_tlb_all(); } @@ -398,7 +398,7 @@ void __cpuinit zap_low_mappings(int cpu) * For AP's, zap the low identity mappings by changing the cr3 * to init_level4_pgt an...