On Sat, Jan 04, 2003 at 03:11:45AM -0800, Andrew Morton wrote:
> Sure, we don't need atomic semantics for the BH_Attached bit because
> it is always read and modified under a global spinlock. But *other*
> users of buffer_head.b_state do not run under that lock so the nonatomic
> RMW will stomp on their changes. 2.4.20 does not have this bug.
Thanks, I still had to learn something about *_bit() semantics.
And sorry for introducing that bug..
-
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/
This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:36 EST