lkml.org 
[lkml]   [2003]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] block layer support for DMA IOMMU bypass mode II
On Wed, Jul 02, 2003 at 10:53:33AM -0600, Grant Grundler wrote:
>
> > Maybe I'm missing something but from James description it sounds like the
> > block layer assumes that it can pass in a sglist with arbitary elements
> > and get it back remapped to continuous DMA addresses.
>
> In the x86-64 case, If the 1k elements are not physically contigous,
> I think most of them would get their own mapping.

Yes, but it won't be continguous in bus space.

>
> For x86-64, if an entry ends on a 4k alignment and the next one starts
> on a 4k alignment, could those be merged into one DMA segment that uses
> two adjacent mapping entries?

Yes, it is now in the version I wrote last night, but not in the
previous code that's in the tree.

-Andi
-
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-03-22 13:46    [W:0.163 / U:1.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site