[lkml]   [2010]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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    [W:4.033 / U:30.192 seconds]
    ©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site