On Wed, 2006-03-22 at 22:20 -0800, Andrew Morton wrote:
> James Bottomley <[EMAIL PROTECTED]> wrote:
> umm, except in the case where direct-io hit a file hole.  In that case we
> memset the user's page and use flush_dcache_page().  And that's most likely
> an anonymous page.

Actually, in this one case, you need to use the
flush_kernel_dcache_page() API rather than the flush_anon_page(), since
it sounds like what you've modified is the kernel view of the page, not
the user's view.

James


-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to