Skip to content

Commit 2d9c318

Browse files
mchehabpaulmckrcu
authored andcommitted
docs: RCU: Don't duplicate chapter names in rculist_nulls.rst
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 <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent f2286ab commit 2d9c318

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/RCU/rculist_nulls.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ objects using SLAB_TYPESAFE_BY_RCU allocations.
1010

1111
Please read the basics in Documentation/RCU/listRCU.rst
1212

13+
Using 'nulls'
14+
=============
15+
1316
Using special makers (called 'nulls') is a convenient way
1417
to solve following problem :
1518

@@ -126,6 +129,9 @@ very very fast (before the end of RCU grace period)
126129

127130
--------------------------------------------------------------------------
128131

132+
Avoiding extra smp_rmb()
133+
========================
134+
129135
With hlist_nulls we can avoid extra smp_rmb() in lockless_lookup()
130136
and extra smp_wmb() in insert function.
131137

0 commit comments

Comments
 (0)