From patchwork Tue Mar 31 19:36:48 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesper Dangaard Brouer X-Patchwork-Id: 25441 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 02154DDDB2 for ; Wed, 1 Apr 2009 06:37:24 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755081AbZCaTgy (ORCPT ); Tue, 31 Mar 2009 15:36:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754831AbZCaTgy (ORCPT ); Tue, 31 Mar 2009 15:36:54 -0400 Received: from lanfw001a.cxnet.dk ([87.72.215.196]:39944 "EHLO lanfw001a.cxnet.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753600AbZCaTgx (ORCPT ); Tue, 31 Mar 2009 15:36:53 -0400 Received: from comxexch02.comx.local (unknown [172.31.1.117]) by lanfw001a.cxnet.dk (Postfix) with ESMTP id 5E7CE16386D; Tue, 31 Mar 2009 21:36:49 +0200 (CEST) Received: from hawk.comx.local ([172.31.4.93]) by comxexch02.comx.local with Microsoft SMTPSVC(6.0.3790.3959); Tue, 31 Mar 2009 21:36:49 +0200 Subject: Re: [PATCH v2 3/3] Doc: Fix spelling in RCU/rculist_nulls.txt. From: Jesper Dangaard Brouer To: Jesper Dangaard Brouer Cc: Jarek Poplawski , "David S. Miller" , netdev In-Reply-To: References: <20090330085302.19172.22808.stgit@localhost.localdomain> <20090330090306.19172.94170.stgit@localhost.localdomain> <49D0FA6E.4090402@gmail.com> <20090331105400.GA6843@ff.dom.local> Organization: ComX Networks A/S Date: Tue, 31 Mar 2009 21:36:48 +0200 Message-Id: <1238528208.9018.1.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 X-OriginalArrivalTime: 31 Mar 2009 19:36:49.0713 (UTC) FILETIME=[09162A10:01C9B238] Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Doc: Fix spelling in RCU/rculist_nulls.txt. Trival spelling fixes in RCU/rculist_nulls.txt. Reviewed-by: Paul E. McKenney Signed-off-by: Jesper Dangaard Brouer Tested-by: Jarek Poplawski --- Documentation/RCU/rculist_nulls.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/RCU/rculist_nulls.txt b/Documentation/RCU/rculist_nulls.txt index 239f542..6389dec 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 the same chain, then the reader doesnt care : It might eventually scan the list again without harm.