lkml.org 
[lkml]   [1999]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: cmpci: dma buffer crosses 64k boundaryyd
Date
From
> > I think we must continue to guarantee that x-byte allocations are aligned on
> > x-byte boundaries.
>
> Isn't that wasteful if not required? For example my Via audio chip
> only needs dword alignment for the addresses passed to it in the
> scatter-gather DMA table.

Since we use a buddy allocator its an implied property if the base is set to
a boundary as big as your largest allocation you want the feature for. Since
you can align arbitarily and then drop in partially used indicators to cover
the area that isnt really free its basically zero cost


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [from the cache]
©2003-2011 Jasper Spaans