lkml.org 
[lkml]   [2010]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3] ad7877: keep dma rx buffers in seperate cache lines
    On Tue, 11 May 2010, Mike Frysinger wrote:

    > and like i said, that doesnt sound like a reasonable solution when
    > every single SPI driver (over 100 atm) out there is affected

    If you are on an embedded arch then you can of course set the default
    kmalloc alignment.

    The requirement for kmalloc is that it returns memory that can be used for
    DMA. If the arch can only DMA into cacheline aligned objects then the
    correct method is to force kmalloc alignment to cacheline size.



    \
     
     \ /
      Last update: 2010-05-12 10:17    [from the cache]
    ©2003-2011 Jasper Spaans