Search Linux Wireless

Re: 6.7.0-rc1 + hacks deadlock bug, wifi netdev delete + cat of debugfs file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2023-11-08 at 16:44 +0100, Johannes Berg wrote:
> 
> > I have been running similar code for...like 15 years, and haven't seen this particular
> > deadlock before, so I think it is at least exacerbated by the locking changes.  Or maybe
> > I had particularly bad luck yesterday....
> 
> Oh, it almost certainly did get at least worse or perhaps introduced by
> (a) moving everything to a single lock and (b) moving debugfs file
> removal under the lock.
> 

FWIW, the debugfs remove was under lock before, but we didn't acquire
much locks in the debugfs itself (only sta mtx and only in aql write,
and that mutex isn't held in remove) ... So indeed it couldn't happen.

I added that to call into drivers with the wiphy mutex though, can't
really remove that, I think.

johannes




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux