[PATCH 2/4] Optionally flush entire dcache from v6_dma_flush_range

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Dec 14 04:30:54 EST 2010


On Mon, Dec 13, 2010 at 08:57:37PM -0800, John Stultz wrote:
> From: Arve Hjønnevåg <arve at android.com>
> 
> If CACHE_FLUSH_RANGE_LIMIT is defined, then the entire dcache will
> be flushed if the requested range is larger than this limit.

This has been talked about before, and it's not the correct place to do
this.  With a scatterlist, you'll end up repeatedly flushing the cache.



More information about the linux-arm-kernel mailing list