Re: [PATCH] net: make unregister netdev warning timeout configurable

2021-03-22 Thread Dmitry Vyukov
On Mon, Mar 22, 2021 at 8:26 PM David Miller wrote: > > From: Dmitry Vyukov > Date: Sat, 20 Mar 2021 15:28:51 +0100 > > > netdev_wait_allrefs() issues a warning if refcount does not drop to 0 > > after 10 seconds. While 10 second wait generally should not happen > > under normal workload in norma

Re: [PATCH] net: make unregister netdev warning timeout configurable

2021-03-22 Thread David Miller
From: Dmitry Vyukov Date: Sat, 20 Mar 2021 15:28:51 +0100 > netdev_wait_allrefs() issues a warning if refcount does not drop to 0 > after 10 seconds. While 10 second wait generally should not happen > under normal workload in normal environment, it seems to fire falsely > very often during fuzzin

Re: [PATCH] net: make unregister netdev warning timeout configurable

2021-03-21 Thread Leon Romanovsky
On Sat, Mar 20, 2021 at 03:28:51PM +0100, Dmitry Vyukov wrote: > netdev_wait_allrefs() issues a warning if refcount does not drop to 0 > after 10 seconds. While 10 second wait generally should not happen > under normal workload in normal environment, it seems to fire falsely > very often during fuz

[PATCH] net: make unregister netdev warning timeout configurable

2021-03-20 Thread Dmitry Vyukov
netdev_wait_allrefs() issues a warning if refcount does not drop to 0 after 10 seconds. While 10 second wait generally should not happen under normal workload in normal environment, it seems to fire falsely very often during fuzzing and/or in qemu emulation (~10x slower). At least it's not possible