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

From: David Ahern
Date: Mon Apr 22 2019 - 10:58:36 EST


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.