Re: [PATCH][LIBFS] Move transaction file ops into libfs + cleanup(update)

From: James Morris
Date: Sun Aug 15 2004 - 18:47:46 EST


On Sun, 15 Aug 2004, Andrew Morton wrote:

> I updated the patch to include this important detail in a comment.
> Shouldn't it be an smb_mb()?

Yes, this is SMP specific. i.e. thread A is writing to ar->data and
thread B wants to know if ar->data is non-zero to read it.


- James
--
James Morris
<jmorris@xxxxxxxxxx>


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