Messages in this thread | | | Date | Thu, 21 Nov 2013 13:30:55 -0800 | From | "Paul E. McKenney" <> | Subject | [PATCH v2 RFC 0/3] Memory-barrier documentation updates |
| |
Hello!
This series applies some long-needed updates to memory-barriers.txt:
1. Add ACCESS_ONCE() calls where needed to ensure their inclusion in code copy-and-pasted from this file.
2. Add long atomic examples alongside the existing atomics.
3. Prohibit architectures supporting the Linux kernel from speculating stores.
Changes from v1:
o Combined with Peter Zijlstra's speculative-store-prohibition patch.
o Added more pitfalls to avoid when prohibiting speculative stores, along with how to avoid them.
o Applied Josh Triplett's review comments.
Thanx, Paul
b/Documentation/memory-barriers.txt | 360 ++++++++++++++++++++++++++---------- 1 file changed, 266 insertions(+), 94 deletions(-)
| |