"H. Peter Anvin" <[email protected]> writes: > Since we allocate the maximum possible memory statically, I fail to see how > holes could make the situation any worse, or better. Consider a memory hole of size 8M immediately after our bootmem bitmap. head.S which knows nothing of holes will map the pages of the hole into the initial page tables assuming that is where the page tables will live. alloc_bootmem_low_pages which understands holes will skip those pages and return a higher address, which is outside of our initial mapping of pages. As for how to fix this, we need to call boot_ioremap or better bt_ioremap on the address returned from alloc_bootmem_pages_low to force the allocated page into the page table. After we have setup the page table page we can call unmap the page to free up the scarce early mapping resource. Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings
- From: Jeremy Fitzhardinge <[email protected]>
- Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings
- References:
- [PATCH 00/28] Updates for firstfloor paravirt-ops patches
- From: Jeremy Fitzhardinge <[email protected]>
- Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings
- From: Andi Kleen <[email protected]>
- Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings
- From: Andi Kleen <[email protected]>
- Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings
- From: Chuck Ebbert <[email protected]>
- Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings
- From: Jeremy Fitzhardinge <[email protected]>
- Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings
- From: Jeremy Fitzhardinge <[email protected]>
- Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings
- From: "H. Peter Anvin" <[email protected]>
- [PATCH 00/28] Updates for firstfloor paravirt-ops patches
- Prev by Date: Re: [report] renicing X, cfs-v5 vs sd-0.46
- Next by Date: Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings
- Previous by thread: Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings
- Next by thread: Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings
- Index(es):