Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932941Ab0KLVTO (ORCPT ); Fri, 12 Nov 2010 16:19:14 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:39746 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932796Ab0KLVTM (ORCPT ); Fri, 12 Nov 2010 16:19:12 -0500 Date: Fri, 12 Nov 2010 13:19:36 -0800 (PST) Message-Id: <20101112.131936.191390015.davem@davemloft.net> To: eric.dumazet@gmail.com Cc: xiyou.wangcong@gmail.com, cypher.w@gmail.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net-next-2.6 V2] igmp: RCU conversion of in_dev->mc_list From: David Miller In-Reply-To: <1289576810.3185.261.camel@edumazet-laptop> References: <1289568858.3185.252.camel@edumazet-laptop> <1289571974.3185.254.camel@edumazet-laptop> <1289576810.3185.261.camel@edumazet-laptop> X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 790 Lines: 23 From: Eric Dumazet Date: Fri, 12 Nov 2010 16:46:50 +0100 > [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. > > Signed-off-by: Eric Dumazet This looks good to me, so I've applied it to net-next-2.6 We have enough time there to fix any fallout or revert if necessary. -- 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/