Re: [PATCH] [ARM] force dcache flush if dcache_dirty bit set

From: David Miller
Date: Mon Oct 12 2009 - 06:17:23 EST


From: Russell King - ARM Linux <linux@xxxxxxxxxxxxxxxx>
Date: Mon, 12 Oct 2009 11:00:23 +0100

> The problem which has been identified is that when flush_dcache_page() is
> called, there is a mapping, and so the page is marked for lazy flushing.
> However, by the time update_mmu_cache() gets called, the mapping has gone
> and so update_mmu_cache() does nothing.

Now I understand, thanks.

Ok, I'll remove the mapping check from the sparc64 flush_dcache()
function, seems the right thing to do.

--
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/