[PATCH v6 00/11] mmc: use nonblock mmc requests to minimize latency

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Jun 27 07:02:34 EDT 2011


On Mon, Jun 27, 2011 at 01:34:48PM +0300, saeed bishara wrote:
> Russell,
>   I'm curious about the correctness of this patch for systems with
> outer cache. shouldn't the dsb be issued before the outer cache
> maintenance?

Maybe we should do two passes over SG lists then - one for the inner and
another for the outer cache?

In effect we could do three passes:

1. Calculate the total size of the SG list to determine whether full
   cache flush is more efficient.
2. Flush inner cache
   Then dsb()
3. Flush outer cache
   Another dsb()




More information about the linux-arm-kernel mailing list