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

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Nov 23 08:30:16 EST 2009


On Mon, Nov 23, 2009 at 12:09:12PM +0000, Catalin Marinas wrote:
> 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>

However, it (and the updated patch I sent in reply to Nicolas) misses
touching the L2 functions.

I'll post an updated set of the entire 17 patches shortly.



More information about the linux-arm-kernel mailing list