lkml.org 
[lkml]   [2015]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectQuestion about cacheline aligned memory for DMA transfers
Dear list,

I am working on a memory corruption problem with a patched 2.6.21 kernel in the
USB driver. In order to better understand the problem I would like to ask how
current kernels handle the case where the same cacheline is used for a DMA-able
object and another object.

Does kmalloc return only memory that is cache line aligned? If not, do all
architectures handle cache line misalign
ed dma accesses correctly like the powerpc (although not yet in 2.6.21)
architecture does?

Thanks for any insights.

- Johannes

PS: Please CC me I am not on the list.


\
 
 \ /
  Last update: 2015-05-06 14:21    [W:0.093 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site