docs: refcount_t documentation
authorElena Reshetova <elena.reshetova@intel.com>
Tue, 5 Dec 2017 10:46:35 +0000 (12:46 +0200)
committerJonathan Corbet <corbet@lwn.net>
Mon, 11 Dec 2017 21:37:11 +0000 (14:37 -0700)
commitb6e859f6cdd1686c021dcb3e18591d0b28ce8867
tree4c2d00ec6d68a39f6fcf39242acf9515e66754f6
parent3ece7805105ef5967fd88547ac958c6d59329e9c
docs: refcount_t documentation

Some functions from refcount_t API provide different
memory ordering guarantees that their atomic counterparts.
This adds a document outlining these differences (
Documentation/core-api/refcount-vs-atomic.rst) as well as
some other minor improvements.

Signed-off-by: Elena Reshetova <elena.reshetova@intel.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/core-api/index.rst
Documentation/core-api/refcount-vs-atomic.rst [new file with mode: 0644]
Documentation/driver-api/basics.rst
include/linux/refcount.h