Skip to content

Commit

Permalink
docs: RCU: Don't duplicate chapter names in rculist_nulls.rst
Browse files Browse the repository at this point in the history
Since changeset 58ad30c ("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: 58ad30c ("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>
  • Loading branch information
Mauro Carvalho Chehab authored and Paul E. McKenney committed Jun 29, 2020
1 parent f2286ab commit 2d9c318
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Documentation/RCU/rculist_nulls.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 :

Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 2d9c318

Please sign in to comment.