Re: [PATCH net-next v3 7/7] mld: add mc_lock for protecting per-interface mld data

2021-03-30 Thread Taehee Yoo
On 3/30/21 9:24 PM, Eric Dumazet wrote: > > > On 3/30/21 1:59 PM, Eric Dumazet wrote: >> >> >> On 3/25/21 5:16 PM, Taehee Yoo wrote: >>> The purpose of this lock is to avoid a bottleneck in the query/report >>> event handler logic. >>> >>> By previous patches, almost all mld data is protected by R

Re: [PATCH net-next v3 7/7] mld: add mc_lock for protecting per-interface mld data

2021-03-30 Thread Eric Dumazet
On 3/30/21 1:59 PM, Eric Dumazet wrote: > > > On 3/25/21 5:16 PM, Taehee Yoo wrote: >> The purpose of this lock is to avoid a bottleneck in the query/report >> event handler logic. >> >> By previous patches, almost all mld data is protected by RTNL. >> So, the query and report event handler, w

Re: [PATCH net-next v3 7/7] mld: add mc_lock for protecting per-interface mld data

2021-03-30 Thread Eric Dumazet
On 3/25/21 5:16 PM, Taehee Yoo wrote: > The purpose of this lock is to avoid a bottleneck in the query/report > event handler logic. > > By previous patches, almost all mld data is protected by RTNL. > So, the query and report event handler, which is data path logic > acquires RTNL too. Therefo

[PATCH net-next v3 7/7] mld: add mc_lock for protecting per-interface mld data

2021-03-25 Thread Taehee Yoo
The purpose of this lock is to avoid a bottleneck in the query/report event handler logic. By previous patches, almost all mld data is protected by RTNL. So, the query and report event handler, which is data path logic acquires RTNL too. Therefore if a lot of query and report events are received,