[PATCH v3] refcount_t vs. atomic_t ordering differences

From: Elena Reshetova
Date: Wed Nov 29 2017 - 07:38:46 EST


Changes in v3:

- fixes from Kees incorporated apart from concrete examples
for practical cases.
- document converted to rst and linked under core-api


Changes in v2:

- typos and english are fixed based on Randy Dunlap's
proof reading
- structure of document improved:
* definitions now in the beginning
* confusing examples removed
* less redundancy overall and more up-to-the-point text
- definitions try to follow LKMM defined in
github.com/aparri/memory-model/blob/master/Documentation/explanation.txt


Elena Reshetova (1):
refcount_t: documentation for memory ordering differences

Documentation/core-api/index.rst | 1 +
Documentation/core-api/refcount-vs-atomic.rst | 129 ++++++++++++++++++++++++++
2 files changed, 130 insertions(+)
create mode 100644 Documentation/core-api/refcount-vs-atomic.rst

--
2.7.4