That sounds distinctly possible.
> I believe (DaveM will speak with authority) that hitherto it has been
> assumed that I/O (well, Input) brings data actually into memory: we use
> flush_dcache_page if kernel memsets or memcpys data, not if it's read in.
Vague statement of principle: The device driver layer takes care of these
issues for DMA transfers, and hence should also take care of them for PIO.
Is this sensible and/or possible?
> If this mode+architecture departs from that, then we would need another
> macro, which translates to flush_dcache_page (sufficient?) for that,
> and is a nop for everything else.
>
> And where would it be placed? I think not where the flush_page_to_ram
> used to be in filemap_nopage, but after the ->readpage. Or... would
> this tie in with Martin's s390 request for a SetPageUptodate hook?
>
IDE?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/