On Tue, 2005-10-18 at 16:22 -0700, Ravikiran G Thirumalai wrote: > Hope the following works. Using __alloc_bootmem_node now with a hard coded > goal to avoid 16MB DMA zone. It is ugly :( and hope it works this time > <fingers crossed>. Nope, it still gives me memory above 4GB. If I change goal to 0x0 it works. One nit, shouldn't IS_LOW_AGES() be more like this: #define IS_LOWPAGES(paddr, size) ((paddr+size-1) < 0x100000000UL) Minor optimization not checking the start, but a 64MB swiotlb starting at 4GB-64MB should be found as ok. Thanks, Alex - 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: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken
- From: Yasunori Goto <[email protected]>
- Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken
- From: Alex Williamson <[email protected]>
- Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken
- References:
- Re: x86_64: 2.6.14-rc4 swiotlb broken
- From: Andrew Morton <[email protected]>
- Re: x86_64: 2.6.14-rc4 swiotlb broken
- From: Linus Torvalds <[email protected]>
- Re: x86_64: 2.6.14-rc4 swiotlb broken
- From: Ravikiran G Thirumalai <[email protected]>
- Re: x86_64: 2.6.14-rc4 swiotlb broken
- From: Linus Torvalds <[email protected]>
- Re: x86_64: 2.6.14-rc4 swiotlb broken
- From: Linus Torvalds <[email protected]>
- Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken
- From: Ravikiran G Thirumalai <[email protected]>
- Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken
- From: Alex Williamson <[email protected]>
- Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken
- From: Ravikiran G Thirumalai <[email protected]>
- Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken
- From: Alex Williamson <[email protected]>
- Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken
- From: Alex Williamson <[email protected]>
- Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken
- From: Ravikiran G Thirumalai <[email protected]>
- Re: x86_64: 2.6.14-rc4 swiotlb broken
- Prev by Date: Re: [PATCH] fix nr_unused accounting, and avoid recursing in iput with I_WILL_FREE set
- Next by Date: Re: [PATCH] ktimers subsystem 2.6.14-rc2-kt5
- Previous by thread: Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken
- Next by thread: Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken
- Index(es):