Documentation/memory-barriers.txt: Document ACCESS_ONCE()
authorPaul E. McKenney <[email protected]>
Wed, 11 Dec 2013 21:59:07 +0000 (13:59 -0800)
committerIngo Molnar <[email protected]>
Mon, 16 Dec 2013 10:36:12 +0000 (11:36 +0100)
commit692118dac47e65f5131686b1103ebfebf0cbfa8e
tree1bba0afd9809bec501d5ec65d43ad3bcbb2e0574
parent18c03c61444a211237f3d4782353cb38dba795df
Documentation/memory-barriers.txt: Document ACCESS_ONCE()

The situations in which ACCESS_ONCE() is required are not well
documented, so this commit adds some verbiage to
memory-barriers.txt.

Reported-by: Peter Zijlstra <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Reviewed-by: Peter Zijlstra <[email protected]>
Cc: <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Documentation/memory-barriers.txt