[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101113064421.GE3837@hack>
Date: Sat, 13 Nov 2010 14:44:21 +0800
From: Américo Wang <xiyou.wangcong@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Américo Wang <xiyou.wangcong@...il.com>,
Cypher Wu <cypher.w@...il.com>, linux-kernel@...r.kernel.org,
netdev <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>
Subject: Re: [PATCH net-next-2.6 V2] igmp: RCU conversion of in_dev->mc_list
>
>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 <eric.dumazet@...il.com>
>Cc: Cypher Wu <cypher.w@...il.com>
>Cc: Américo Wang <xiyou.wangcong@...il.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists