Re: [PATCH net-next-2.6 V2] igmp: RCU conversion of in_dev->mc_list
From: AmÃrico Wang
Date: Sat Nov 13 2010 - 02:04:21 EST
>
>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@xxxxxxxxx>
>Cc: Cypher Wu <cypher.w@xxxxxxxxx>
>Cc: AmÃrico Wang <xiyou.wangcong@xxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/