Re: BUG: MAX_LOCKDEP_KEYS too low!

2021-01-23 Thread Tetsuo Handa
On 2021/01/23 20:26, Alexey Kardashevskiy wrote: > Should not the first 8192 from "grep lock-classes /proc/lockdep_stats" > decrease > after time (it does not), or once it has failed, it is permanent? Since lockdep_unregister_key() becomes a no-op because graph_lock() returns 0 due to debug_locks

Re: BUG: MAX_LOCKDEP_KEYS too low!

2021-01-23 Thread Alexey Kardashevskiy
On 23/01/2021 21:29, Tetsuo Handa wrote: On 2021/01/23 15:35, Alexey Kardashevskiy wrote: this behaves quite different but still produces the message (i have show_workqueue_state() right after the bug message): [   85.803991] BUG: MAX_LOCKDEP_KEYS too low! [   85.804338] turning off the lo

Re: BUG: MAX_LOCKDEP_KEYS too low!

2021-01-23 Thread Tetsuo Handa
On 2021/01/23 15:35, Alexey Kardashevskiy wrote: > this behaves quite different but still produces the message (i have > show_workqueue_state() right after the bug message): > > > [   85.803991] BUG: MAX_LOCKDEP_KEYS too low! > [   85.804338] turning off the locking correctness validator. > [  

Re: BUG: MAX_LOCKDEP_KEYS too low!

2021-01-22 Thread Alexey Kardashevskiy
On 23/01/2021 17:01, Hillf Danton wrote: On Sat, 23 Jan 2021 09:53:42 +1100 Alexey Kardashevskiy wrote: On 23/01/2021 02:30, Tetsuo Handa wrote: On 2021/01/22 22:28, Tetsuo Handa wrote: On 2021/01/22 21:10, Dmitry Vyukov wrote: On Fri, Jan 22, 2021 at 1:03 PM Alexey Kardashevskiy wrote:

Re: BUG: MAX_LOCKDEP_KEYS too low!

2021-01-22 Thread Alexey Kardashevskiy
On 23/01/2021 02:30, Tetsuo Handa wrote: On 2021/01/22 22:28, Tetsuo Handa wrote: On 2021/01/22 21:10, Dmitry Vyukov wrote: On Fri, Jan 22, 2021 at 1:03 PM Alexey Kardashevskiy wrote: On 22/01/2021 21:30, Tetsuo Handa wrote: On 2021/01/22 18:16, Dmitry Vyukov wrote: The reproducer onl

Re: BUG: MAX_LOCKDEP_KEYS too low!

2021-01-22 Thread Dmitry Vyukov
On Fri, Jan 22, 2021 at 4:43 AM Alexey Kardashevskiy wrote: > > Hi! > > Syzkaller found this bug and it has a repro (below). I googled a similar > bug in 2019 which was fixed so this seems new. > > The repro takes about a half a minute to produce the message, "grep > lock-classes /proc/lockdep_st

Re: BUG: MAX_LOCKDEP_KEYS too low!

2020-12-09 Thread Dmitry Vyukov
On Sun, Oct 27, 2019 at 4:31 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:65921376 Merge branch 'net-fix-nested-device-bugs' > git tree: net > console output: https://syzkaller.appspot.com/x/log.txt?x=1637fdc0e0 > kernel config: https://syzkal