File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -140,8 +140,7 @@ very very fast (before the end of RCU grace period)
140
140
Avoiding extra smp_rmb()
141
141
========================
142
142
143
- With hlist_nulls we can avoid extra smp_rmb() in lockless_lookup()
144
- and extra _release() in insert function.
143
+ With hlist_nulls we can avoid extra smp_rmb() in lockless_lookup().
145
144
146
145
For example, if we choose to store the slot number as the 'nulls'
147
146
end-of-list marker for each slot of the hash table, we can detect
@@ -196,6 +195,9 @@ Note that using hlist_nulls means the type of 'obj_node' field of
196
195
2) Insert algorithm
197
196
-------------------
198
197
198
+ Same to the above one, but uses hlist_nulls_add_head_rcu() instead of
199
+ hlist_add_head_rcu().
200
+
199
201
::
200
202
201
203
/*
You can’t perform that action at this time.
0 commit comments