atomic_ops.txt has incorrect, misleading and insufficient information [Bug 9020]
authorMatti Linnanvuori <mattilinnanvuori@yahoo.com>
Wed, 17 Oct 2007 06:30:08 +0000 (23:30 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:58 +0000 (08:42 -0700)
commit8d7b52dfc9b0c672a3c39a82b896c8eedabb2a63
treec1fe136c5b9ddafdb1c9e79e9aae0ff969117078
parent5f519d728169fa9975bcba001de425f11e18e8e3
atomic_ops.txt has incorrect, misleading and insufficient information [Bug 9020]

atomic_ops.txt has incorrect, misleading and insufficient information about
semantics of initializer, atomic_set, atomic_read and atomic_xchg.

It also incorrectly implies that operations mentioned above are not actual
atomic operations.

Included is most of the patch Document non-semantics of atomic_read() and
atomic_set() by Chris Snook, except the word "assignment".

Signed-off-by: Matti Linnanvuori <mattilinnanvuori@yahoo.com>
Cc: Nick Piggin <npiggin@suse.de>
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/atomic_ops.txt