On Wed, Oct 14, 2015 at 06:18:58PM +0200, Dmitry Vyukov wrote: > > Well, if another thread writes it byte-by-byte, it pretty much does > not matter how you read it. > Note that I said "at least one access is not atomic". If both are > atomic, then this is, of course, legal. And KTSAN considers > READ/WRITE_ONCE as atomic operations.
OK, then I'm confused on what exactly the annotation does, but less worried. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/