Re: [patch] cache flush bug in mm/filemap.c (all kernels >= 2.5.30(atleast))

From: Mika Penttilä (mika.penttila@kolumbus.fi)
Date: Mon May 26 2003 - 00:34:52 EST


ah, ok. so there are cache issues even if if the user pte is not established yet? Then it seems natural to couple flush_dcache_page with pte establishing, not at the driver level.

--Mika


David S. Miller wrote:

From: **UNKNOWN CHARSET** <mika.penttila@xxxxxxxxxxx>
Date: Mon, 26 May 2003 08:07:10 +0300

I don't think the flush_dcache_page thing is done almost anywhere in the block/driver level right now.

It isn't and it shouldn't :-)

And we shouldn't be doing io reads to pagecache pages with user
mappings anyway normally. direct-io is a different thing.
We are talking about the case where we are bringing in the
data for the first time, on the page cache lookup miss.





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