Messages in this thread | | | Date | Tue, 11 May 2010 15:21:53 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: [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.
| |