Messages in this thread | | | Date | Tue, 27 Apr 2021 15:43:21 +0800 | From | Herbert Xu <> | Subject | Re: [BISECTED] 5.12 hangs at reboot |
| |
Linus Torvalds <torvalds@linux-foundation.org> wrote: > > At a guess, there is some other sequence that takes the rtnl lock, and > then takes the wiphy_lock inside of it, and we have a ABBA deadlock.
The most common cause of these lockups is a stray reference on some kind of a network object, e.g., a socket or some such. This then causes the underlying network device to be reference counted and triggers a lock-up if that network device needs to be removed.
> I _hate_ that stupid rtnl lock. It's come up before. Several times. > It's probably the most broken lock in the kernel.
Yes, it's the networking equivalent of the BKL.
Cheers, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |