Commit edd4070f authored by Jesper Dangaard Brouer's avatar Jesper Dangaard Brouer Committed by David S. Miller

Doc: Fix spelling in RCU/rculist_nulls.txt.

Doc: Fix spelling in RCU/rculist_nulls.txt.

Trival spelling fixes in RCU/rculist_nulls.txt.
Reviewed-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: default avatarJesper Dangaard Brouer <hawk@comx.dk>
Tested-by: default avatarJarek Poplawski <jarkao2@gmail.com;->
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3943ac5d
...@@ -21,7 +21,7 @@ if (obj) { ...@@ -21,7 +21,7 @@ if (obj) {
/* /*
* Because a writer could delete object, and a writer could * Because a writer could delete object, and a writer could
* reuse these object before the RCU grace period, we * reuse these object before the RCU grace period, we
* must check key after geting the reference on object * must check key after getting the reference on object
*/ */
if (obj->key != key) { // not the object we expected if (obj->key != key) { // not the object we expected
put_ref(obj); put_ref(obj);
...@@ -117,7 +117,7 @@ a race (some writer did a delete and/or a move of an object ...@@ -117,7 +117,7 @@ a race (some writer did a delete and/or a move of an object
to another chain) checking the final 'nulls' value if to another chain) checking the final 'nulls' value if
the lookup met the end of chain. If final 'nulls' value the lookup met the end of chain. If final 'nulls' value
is not the slot number, then we must restart the lookup at is not the slot number, then we must restart the lookup at
the begining. If the object was moved to same chain, the beginning. If the object was moved to the same chain,
then the reader doesnt care : It might eventually then the reader doesnt care : It might eventually
scan the list again without harm. scan the list again without harm.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment