Re: [RFC][PATCH] problem of cont_prepare_write()

From: Andrew Morton
Date: Mon Nov 22 2004 - 18:48:11 EST


Anton Altaparmakov <aia21@xxxxxxxxx> wrote:
>
> I always have a flush_dcache_page(page) between the memset() and
> the SetPageUptodate() so I don't need the barrier, right? Or does the
> flush_dcache_page() not imply ordering?

err, flush_dcache_page() might indeed provide a write barrier on all
architectures which need write barriers. Then again it might not ;) It's
not intended that this be the case.
-
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/