summaryrefslogtreecommitdiff
path: root/Documentation/RCU
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-21 20:04:11 +0300
committerPaul E. McKenney <paulmck@kernel.org>2020-06-29 21:58:11 +0300
commit2d9c318bfd15394da014737bee30e7b2e22c5eac (patch)
tree5c1a82de875d943c554b4ac56040a0afd0e24c95 /Documentation/RCU
parentf2286ab99549271f3cec73e305b9ecca95d91394 (diff)
downloadlinux-2d9c318bfd15394da014737bee30e7b2e22c5eac.tar.xz
docs: RCU: Don't duplicate chapter names in rculist_nulls.rst
Since changeset 58ad30cf91f0 ("docs: fix reference to core-api/namespaces.rst"), auto-references for chapters are generated. This is a nice feature, but has a drawback: no chapters can have the same sumber. So, we need to add two higher hierarchy chapters on this document, in order to avoid such duplication. Fixes: 58ad30cf91f0 ("docs: fix reference to core-api/namespaces.rst") Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'Documentation/RCU')
-rw-r--r--Documentation/RCU/rculist_nulls.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/RCU/rculist_nulls.rst b/Documentation/RCU/rculist_nulls.rst
index d40374221d69..a9fc774bc400 100644
--- a/Documentation/RCU/rculist_nulls.rst
+++ b/Documentation/RCU/rculist_nulls.rst
@@ -10,6 +10,9 @@ objects using SLAB_TYPESAFE_BY_RCU allocations.
Please read the basics in Documentation/RCU/listRCU.rst
+Using 'nulls'
+=============
+
Using special makers (called 'nulls') is a convenient way
to solve following problem :
@@ -126,6 +129,9 @@ very very fast (before the end of RCU grace period)
--------------------------------------------------------------------------
+Avoiding extra smp_rmb()
+========================
+
With hlist_nulls we can avoid extra smp_rmb() in lockless_lookup()
and extra smp_wmb() in insert function.