lkml.org 
[lkml]   [2005]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken
From
Date
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-19 03:25    [from the cache]
©2003-2011 Jasper Spaans