Re: [RFC] ARM: DMA coherent allocator: align remapped addresses

2010-09-22 Thread Anders Grafström
On 2010-07-25 15:50, Russell King - ARM Linux wrote: > + * Align the virtual region allocation - maximum alignment is > + * a section size, minimum is a page size. This helps reduce > + * fragmentation of the DMA space, and also prevents allocations > + * smaller than a section

[RFC] ARM: DMA coherent allocator: align remapped addresses

2010-07-25 Thread Russell King - ARM Linux
The DMA coherent remap area is used to provide an uncached mapping of memory for coherency with DMA engines. Currently, we look for any free hole which our allocation will fit in with page alignment. However, this can lead to fragmentation of the area, and allows small allocations to cross L1 ent