diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-12-11 13:59:07 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-12-16 11:36:12 +0100 |
commit | 692118dac47e65f5131686b1103ebfebf0cbfa8e (patch) | |
tree | 1bba0afd9809bec501d5ec65d43ad3bcbb2e0574 /init/init_task.c | |
parent | 18c03c61444a211237f3d4782353cb38dba795df (diff) |
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 <peterz@infradead.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Reviewed-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: <linux-arch@vger.kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/1386799151-2219-4-git-send-email-paulmck@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'init/init_task.c')
0 files changed, 0 insertions, 0 deletions