Re: [PATCH net-next v3 5/7] mld: convert ifmcaddr6 to RCU

2021-03-29 Thread Taehee Yoo
On 2021. 3. 30. 오전 4:56, Eric Dumazet wrote: > > Hi Eric, Thank you for the review! > On 3/25/21 5:16 PM, Taehee Yoo wrote: >> The ifmcaddr6 has been protected by inet6_dev->lock(rwlock) so that >> the critical section is atomic context. In order to switch this context, >> changing locking is ne

Re: [PATCH net-next v3 5/7] mld: convert ifmcaddr6 to RCU

2021-03-29 Thread Eric Dumazet
On 3/25/21 5:16 PM, Taehee Yoo wrote: > The ifmcaddr6 has been protected by inet6_dev->lock(rwlock) so that > the critical section is atomic context. In order to switch this context, > changing locking is needed. The ifmcaddr6 actually already protected by > RTNL So if it's converted to use RCU,

[PATCH net-next v3 5/7] mld: convert ifmcaddr6 to RCU

2021-03-25 Thread Taehee Yoo
The ifmcaddr6 has been protected by inet6_dev->lock(rwlock) so that the critical section is atomic context. In order to switch this context, changing locking is needed. The ifmcaddr6 actually already protected by RTNL So if it's converted to use RCU, its control path context can be switched to slee