[lkml]   [2003]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] cache flush bug in mm/filemap.c (all kernels >= 2.5.30(at least))
I don't think the flush_dcache_page thing is done almost anywhere in the 
block/driver level right now. And we shouldn't be doing io reads to
pagecache pages with user mappings anyway normally. direct-io is a
different thing.


David S. Miller wrote:

>On Fri, 2003-05-23 at 11:34, Russell King wrote:
>>So no, I don't think it is a device driver issue at all.
>Oh yes, this part is. If you don't ensure this, everything
>At the end of an I/O operation, say to a page cache page, that
>data ought to be visible equally to a userspace vs. a kernel
>space mapping to that page.
>For example, this is why we use language about "cpu visibility" in the
>DMA api documentation and not "kernel cpu visibility" :-) And because
>PIO transfers are basically pseudo-DMA they need to make the same exact
>If you've been living in a world where you didn't think this is
>necessary, I certainly feel bad for you :-)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:35    [W:0.073 / U:4.716 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site