From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesper Dangaard Brouer Subject: [PATCH 3/3] Doc: Fix spelling in RCU/rculist_nulls.txt. Date: Mon, 30 Mar 2009 11:03:06 +0200 Message-ID: <20090330090306.19172.94170.stgit@localhost.localdomain> References: <20090330085302.19172.22808.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: "Paul E. McKenney" , netdev@vger.kernel.org To: "David S. Miller" Return-path: Received: from lanfw001a.cxnet.dk ([87.72.215.196]:40336 "EHLO lanfw001a.cxnet.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758003AbZC3JDI (ORCPT ); Mon, 30 Mar 2009 05:03:08 -0400 In-Reply-To: <20090330085302.19172.22808.stgit@localhost.localdomain> Sender: netdev-owner@vger.kernel.org List-ID: Trival spelling fixes in RCU/rculist_nulls.txt. Signed-off-by: Jesper Dangaard Brouer --- Documentation/RCU/rculist_nulls.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/RCU/rculist_nulls.txt b/Documentation/RCU/rculist_nulls.txt index 239f542..ba075b2 100644 --- a/Documentation/RCU/rculist_nulls.txt +++ b/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 same chain, then the reader doesnt care : It might eventually scan the list again without harm.