Re: [PATCH] Fix loop device cache handling

From: David S. Miller
Date: Tue Jun 01 2004 - 23:59:21 EST


On Tue, 1 Jun 2004 18:03:36 +0100
Russell King <rmk+lkml@xxxxxxxxxxxxxxxx> wrote:

> The effect of this is that we pull the loop device page into cache
> to exhasibate the problem, since newly allocated pages are _not_
> guaranteed to be completely clean of cache lines in their kernel
> space mapping.
>
> Note that other drivers need to be audited to ensure that any CPU
> writes to page cache pages have a flush_dcache_page() call.
>
> This patch adds the necessary missing flush:

I %100 agree with this patch.
-
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/