From 5491f7e95e81eb86112f4e7c558f87b88c49b205 Mon Sep 17 00:00:00 2001 From: Jesper Dangaard Brouer Date: Tue, 31 Mar 2009 09:36:48 +0000 Subject: [PATCH] --- yaml --- r: 140003 b: refs/heads/master c: edd4070f5d943b35e3e1a2e5e95e4a2eebb11d53 h: refs/heads/master i: 140001: 2dff7fbcbae48f55a3c1564b178ca020052033c9 139999: 4e3344476e15e833e954045e648d098e1e2a9a56 v: v3 --- [refs] | 2 +- trunk/Documentation/RCU/rculist_nulls.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 03218b992718..4d8aa69ed6ae 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3943ac5d99ec024f97442e5f3def1034bb0b1bb0 +refs/heads/master: edd4070f5d943b35e3e1a2e5e95e4a2eebb11d53 diff --git a/trunk/Documentation/RCU/rculist_nulls.txt b/trunk/Documentation/RCU/rculist_nulls.txt index 239f542d48ba..6389dec33459 100644 --- a/trunk/Documentation/RCU/rculist_nulls.txt +++ b/trunk/Documentation/RCU/rculist_nulls.txt @@ -21,7 +21,7 @@ if (obj) { /* * Because a writer could delete object, and a writer could * 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 put_ref(obj); @@ -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 the lookup met the end of chain. If final 'nulls' value 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 scan the list again without harm.