Messages in this thread | | | Date | Sat, 13 Nov 2010 14:44:21 +0800 | From | Américo Wang <> | 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@gmail.com> >Cc: Cypher Wu <cypher.w@gmail.com> >Cc: Américo Wang <xiyou.wangcong@gmail.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |