Re: [git patches] xfs and block fixes for virtually indexed arches

From: Linus Torvalds
Date: Thu Dec 17 2009 - 13:17:42 EST




On Thu, 17 Dec 2009, Russell King wrote:
>
> That's not entirely true. If you have write back caches which are not DMA
> coherent, you need to as a minimum:
>
> - on write, clean the cache to ensure that the page is up to date with data
> held in cache.
>
> - on read, you must ensure that there are no potential write-backs before
> the read commenses and invalidate at some point.

Right you are.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/