[PATCH 7/7] ARM: dma-mapping: no need to clean overlapping cachelines on invalidate

Catalin Marinas catalin.marinas at arm.com
Mon Nov 23 07:09:12 EST 2009


On Fri, 2009-11-20 at 18:07 +0000, Russell King - ARM Linux wrote:
> Since we now clean the DMA buffers on map, there's no need to clean
> overlapping cache lines on invalidation anymore.  (Note: the DMA API
> prohibits other data sharing the same cache line as a DMA buffer
> anyway.)

If patch 6/7 cleans before the transfer (I made a comment on performance
but haven't run any benchmarks), it makes sense to have this
simplification.

Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>

-- 
Catalin




More information about the linux-arm-kernel mailing list