Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753347Ab0KMGlV (ORCPT ); Sat, 13 Nov 2010 01:41:21 -0500 Received: from mail-yx0-f174.google.com ([209.85.213.174]:44178 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751588Ab0KMGlT (ORCPT ); Sat, 13 Nov 2010 01:41:19 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; b=A3g3rmf0eFNBsP1r3h1jb/gy0At4eLsvm7IWCJFpyfWG6RYqV9HphicNmCTux7zr+I 9Jk8E5SEixHH1Jt3dvcstR30VlEHfFIZ0iwbSJmxYCRo0h8i7k1+RYNCUKDPtseWg9Av 8Y5pJh+C+akq9SlubIvCivsEK+Mwv2aJd5+xM= Date: Sat, 13 Nov 2010 14:44:21 +0800 From: =?utf-8?Q?Am=C3=A9rico?= Wang To: Eric Dumazet Cc: =?utf-8?Q?Am=C3=A9rico?= Wang , Cypher Wu , linux-kernel@vger.kernel.org, netdev , David Miller Subject: Re: [PATCH net-next-2.6 V2] igmp: RCU conversion of in_dev->mc_list Message-ID: <20101113064421.GE3837@hack> References: <1289489007.17691.1310.camel@edumazet-laptop> <20101112071323.GB5660@cr0.nay.redhat.com> <1289546874.17691.1774.camel@edumazet-laptop> <20101112081945.GA5949@cr0.nay.redhat.com> <1289553759.3185.1.camel@edumazet-laptop> <1289568858.3185.252.camel@edumazet-laptop> <1289571974.3185.254.camel@edumazet-laptop> <1289576810.3185.261.camel@edumazet-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1289576810.3185.261.camel@edumazet-laptop> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 767 Lines: 27 > >Here is an updated version. > >[PATCH net-next-2.6 V2] igmp: RCU conversion of in_dev->mc_list > >in_dev->mc_list is protected by one rwlock (in_dev->mc_list_lock). > >This can easily be converted to a RCU protection. > >Writers hold RTNL, so mc_list_lock is removed, not replaced by a >spinlock. Ah, this saves much work. > >Signed-off-by: Eric Dumazet >Cc: Cypher Wu >Cc: Américo Wang I just did a quick look, it looks good to me. Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/