Re: unregister_netdevice: waiting for DEV to become free (2)

From: Eric Dumazet
Date: Mon Apr 22 2019 - 12:04:10 EST




On 04/22/2019 07:58 AM, David Ahern wrote:
> On 4/21/19 2:41 PM, Stephen Suryaputra wrote:
>> Hi David,
>>
>> I looked at patchwork. This patch hasn't been accepted. Is there a plan
>> to resubmit? It is very useful. I had to debug refcnt issues multiple
>> times for my employer.
>
> I think the inlined versions of dev_put and dev_hold are better for
> performance.
>
> I could submit it with a DEBUG config to enable. It has been invaluable
> to me over the past 3+ years debugging refcount problems.
>

Sounds a good plan to me :)